diff options
author | Lauri Kenttä | 2017-08-28 22:50:14 +0300 |
---|---|---|
committer | Lauri Kenttä | 2017-08-28 22:50:14 +0300 |
commit | e1e46a15aa96de847308b99c09bf1fe1e9c2d7a6 (patch) | |
tree | daf93ebb36c7025d750fecb55144caeaccf313d4 | |
download | aur-e1e46a15aa96de847308b99c09bf1fe1e9c2d7a6.tar.gz |
Version 1.0
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..75efbdf0fcef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = huawei-mobile-helper + pkgdesc = Auto-connect for non-HiLink Huawei USB dongles + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/Metabolix/huawei-mobile-helper + arch = any + license = GPL + depends = udev + depends = systemd + depends = bash + source = git+https://github.com/Metabolix/huawei-mobile-helper.git + sha1sums = SKIP + +pkgname = huawei-mobile-helper + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..341751584099 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Lauri Kenttä <lauri.kentta@gmail.com> +pkgname=huawei-mobile-helper +pkgver=1.0 +pkgrel=1 +pkgdesc="Auto-connect for non-HiLink Huawei USB dongles" +arch=('any') +url="https://github.com/Metabolix/$pkgname" +license=('GPL') +depends=('udev' 'systemd' 'bash') +source=("git+$url.git") +sha1sums=(${source[@]/*/SKIP}) + +pkgver() { + cd "$pkgname" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd "$pkgname" + sh install.sh "$pkgdir" +} |