summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author张弘引2015-12-31 14:01:38 +0800
committer张弘引2015-12-31 14:01:38 +0800
commitdce5bb2b1105929705e361ecf18bab6a7aef07ac (patch)
tree338574afa33382521660add856bff01e78601947
parent4e1f9999982dc36daa94343c2d5dd8e20005800f (diff)
downloadaur-dce5bb2b1105929705e361ecf18bab6a7aef07ac.tar.gz
use fixed version.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
2 files changed, 16 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 10da16d9a42d..3e9f7d5d1005 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 16069629caeb..894cd58531c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}