diff options
author | 张弘引 | 2015-12-31 13:48:45 +0800 |
---|---|---|
committer | 张弘引 | 2015-12-31 13:48:45 +0800 |
commit | 4e1f9999982dc36daa94343c2d5dd8e20005800f (patch) | |
tree | 0e5e105e1c9f1b0cb3892e70230d3ef0e9fef737 | |
parent | bca0dd6b5f76d7d383fb7e9eabc1782f7eff98b3 (diff) | |
download | aur-4e1f9999982dc36daa94343c2d5dd8e20005800f.tar.gz |
rename to swconfig-git
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 13 insertions, 10 deletions
@@ -1,6 +1,8 @@ -pkgbase = swconfig +# Generated by mksrcinfo v8 +# 四 12月 31 05:48:35 UTC 2015 +pkgbase = swconfig-git pkgdesc = project to package the swconfig utility from OpenWRT for archlinuxarm on BPi-R1 - pkgver = 20150806 + pkgver = 20150806.4.g43e2854 pkgrel = 1 url = https://github.com/rains31/swconfig arch = armv7h @@ -9,10 +11,10 @@ pkgbase = swconfig makedepends = gcc makedepends = linux-headers depends = libnl - provides = swconfig - conflicts = swconfig + provides = swconfig-git + conflicts = swconfig-git source = git+https://github.com/rains31/swconfig.git sha1sums = SKIP -pkgname = swconfig +pkgname = swconfig-git @@ -1,5 +1,6 @@ -pkgname=swconfig -pkgver=20150806 +pkgname=swconfig-git +_pkgname=swconfig +pkgver=20150806.4.g43e2854 pkgrel=1 pkgdesc="project to package the swconfig utility from OpenWRT for archlinuxarm on BPi-R1" url="https://github.com/rains31/swconfig" @@ -10,16 +11,16 @@ provides=(${pkgname}) conflicts=(${pkgname}) options=() arch=('armv7h') -source=(git+https://github.com/rains31/${pkgname}.git) +source=(git+https://github.com/rains31/${_pkgname}.git) sha1sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname}" + cd "$srcdir/${_pkgname}" git describe --tags | sed 's/^v//;s/-/./g' } package() { - cd "$srcdir/${pkgname}" + cd "$srcdir/${_pkgname}" make install DESTDIR=$pkgdir } |