summaryrefslogtreecommitdiff
path: root/pcr/android-udev/PKGBUILD
blob: 10fe60934bd8238b0524bb1ef319b5d73d5ed1c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Maintainer (AUR): M0Rf30 
# Contributor: marlock

pkgname=android-udev
pkgver=20130911
_gitver=8dfd1cd0002d7067d24a2ef89360212f164f3856
url="https://github.com/M0Rf30/android-udev-rules"
pkgdesc='Udev rules to for Android devices.'

# The author is the maintainer of the AUR package, where it is listed as GPL;
# this is the best hint to the license that we have.
license=('GPL')

pkgrel=1
arch=('any')
source=("51-android-$pkgver.rules::https://raw.github.com/M0Rf30/android-udev-rules/$_gitver/51-android.rules")
depends=('systemd' 'libmtp')
install='android-udev.install'

package() {
  cd "$srcdir"
  install -Dm755 "$srcdir"/51-android-$pkgver.rules "$pkgdir"/usr/lib/udev/rules.d/51-android.rules
}

md5sums=('1b2033fcf52b1b0ffa807ba90b11fd14')