summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDarshit Shah2018-01-20 00:10:14 +0100
committerDarshit Shah2018-01-20 00:10:14 +0100
commit830e90459fe2883b7e1575db0130eed024c42dd0 (patch)
tree799363b4ec39c8135794bd89c088824e954f732f /PKGBUILD
parent247b32311fef5607e2a4d348aded91227f47b850 (diff)
downloadaur-830e90459fe2883b7e1575db0130eed024c42dd0.tar.gz
Released first alpha version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 67c7cfa726b..efdd769be27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_gitname=wget2
pkgname=${_gitname}-git
-pkgver=0.0.r1589.g1383c21e
+pkgver=1.99.0.r34.g9a0d9eae
pkgrel=1
pkgdesc="Updated version of popular Wget tool"
arch=('i686' 'x86_64')
@@ -21,8 +21,10 @@ build() {
cd $_gitname
git submodule init
git config submodule.gnulib.url "$srcdir/gnulib"
+ git submodule update gnulib
./bootstrap
./configure --prefix=/usr --sysconfdir=/etc
+ make
}
package() {
@@ -33,9 +35,8 @@ package() {
pkgver() {
cd $_gitname
#Use the tag from the last commit.
- # XXX: Hack for a decent version number till the first version is tagged
- git tag v0.0 e0452bc || true
- git describe --always --tags --long | sed 's/^v//; s/-/.r/; s/-/./g'
+ # git describe --always --tags --long | sed 's/^v//; s/-/.r/; s/-/./g; s/wget2.//g'
+ git describe --tags --long | cut -f6- | sed 's/wget2-//g; s/-/.r/; s/-/./g'
}
check() {