PKGBUILDs/core/udev-automount/PKGBUILD

31 lines
836 B
Bash
Raw Normal View History

# ALARM Maintainer: Mike Staszel <mikestaszel@plugapps.com>
# This is an ALARM-exclusive package for easy USB/SD drive automounting
plugrel=1
pkgname=udev-automount
pkgver=1.0
pkgrel=2
pkgdesc="Automount rules for udev"
arch=('arm' 'armv7h')
url="http://archlinuxarm.org/"
license=('GPL')
groups=('base')
depends=('udev')
backup=('etc/udev/rules.d/11-media-by-label-auto-mount.rules' 'etc/udev/rules.d/11-sd-cards-auto-mount.rules')
source=(11-media-by-label-auto-mount.rules
11-sd-cards-auto-mount.rules)
md5sums=('155554f488388e3f994ace619ad1e8d4'
'173b71ab6466677c12c99ef37c56a3db')
build() {
echo "udev-automount"
}
package() {
mkdir -p $pkgdir/etc/udev/rules.d
cp $srcdir/11-media-by-label-auto-mount.rules $pkgdir/etc/udev/rules.d/
cp $srcdir/11-sd-cards-auto-mount.rules $pkgdir/etc/udev/rules.d/
}