summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f6e35a34dc2ae9e08da910ed95681c282221904 (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
27
28
29
# Maintainer: M0Rf30 
# Contributor: marlock
pkgname=android-udev-git
pkgver=169
pkgrel=1
pkgdesc='Udev rules to connect Android devices to your linux box'
arch=('any')
url="https://github.com/M0Rf30/android-udev-rules"
license=('GPL3')
source=('android-udev::git+https://github.com/M0Rf30/android-udev-rules.git')
depends=('systemd' 'libmtp')
makedepends=('git')
conflicts=('android-udev')
provides=('android-udev')
install='android-udev.install'

package() {
  cd android-udev
  mkdir -p $pkgdir/usr/lib/udev/rules.d/
  cp 51-android.rules $pkgdir/usr/lib/udev/rules.d/51-android.rules
  chmod a+r $pkgdir/usr/lib/udev/rules.d/51-android.rules
}

pkgver() {
  cd android-udev
  echo $(git rev-list --count master)
}

md5sums=('SKIP')