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