blob: 92c3efa1f69d8d6ef0448f86eaca23359f77cab7 (
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
30
31
|
# Maintainer: robertfoster
# Contributor: marlock
pkgname=android-udev-git
pkgver=20240829.r0.g5868217
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=("${pkgname%-git}::git+https://github.com/M0Rf30/android-udev-rules.git")
depends=('libmtp' 'systemd')
makedepends=('git')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
package() {
cd "${pkgname%-git}"
install -Dm 644 51-android.rules \
"${pkgdir}"/usr/lib/udev/rules.d/51-android.rules
install -Dm 644 android-udev.conf \
"${pkgdir}"/usr/lib/sysusers.d/android-udev.conf
}
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
sha256sums=('SKIP')
|