PKGBUILDs/core/udev-automount/PKGBUILD

31 lines
837 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=1
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() {
# Nothing to see here!
}
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/
}