diff options
author | AZ Huang | 2016-02-17 01:01:01 +0800 |
---|---|---|
committer | AZ Huang | 2016-02-17 01:01:01 +0800 |
commit | 3963b3f9f3fc9811a6f3a36700acdc3575b73d41 (patch) | |
tree | da099380501d107930bf4bf4eeefc11dc6022963 | |
parent | 73dd7aad0cf87c1a2eeb309064383b71ba89812e (diff) | |
download | aur-3963b3f9f3fc9811a6f3a36700acdc3575b73d41.tar.gz |
Update PKGBUILD, bump version.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 24 insertions, 25 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Tue Feb 16 17:00:45 UTC 2016 pkgbase = pcmanx-gtk2-git pkgdesc = A gtk+ based free BBS client - pkgver = 20130709 + pkgver = 717.ad0af3a pkgrel = 1 url = http://code.google.com/p/pcmanx-gtk2 arch = i686 @@ -15,6 +17,8 @@ pkgbase = pcmanx-gtk2-git provides = pcmanx-gtk2 conflicts = pcmanx-gtk2 options = !libtool + source = git://github.com/pcman-bbs/pcmanx + md5sums = SKIP pkgname = pcmanx-gtk2-git @@ -1,7 +1,9 @@ # Contributor: Chia-Wei Li <dreamcwli@gmail.com> +# Contributor: Wei-Ning Huang <aitjcize@gmail.com> +# Contributor: Yu-Shin Huang <hyslion AT gmail.com> pkgname=pcmanx-gtk2-git -pkgver=20130709 +pkgver=717.ad0af3a pkgrel=1 pkgdesc="A gtk+ based free BBS client" url="http://code.google.com/p/pcmanx-gtk2" @@ -12,35 +14,28 @@ makedepends=('autoconf' 'automake' 'git' 'intltool') options=('!libtool') provides=('pcmanx-gtk2') conflicts=('pcmanx-gtk2') +source=('git://github.com/pcman-bbs/pcmanx') +md5sums=('SKIP') +_gitname='pcmanx' -_gitroot="https://code.google.com/p/pcmanx-gtk2/" -_gitname="pcmanx-gtk2" - -build() { - cd ${srcdir} - - if [ -d $_gitname ]; then - (cd $_gitname && git pull origin) - else - git clone $_gitroot $_gitname - cd $_gitname - fi +pkgver() { + cd ${srcdir}/${_gitname} + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} - msg "Git checkout done or server timeout" - msg "Starting make..." +prepare() { + cd ${srcdir}/${_gitname} ./autogen.sh - ./configure --prefix=/usr --enable-iplookup || return 1 - make || return 1 + ./configure --prefix=/usr --enable-iplookup } -package() { - cd ${srcdir}/$_gitname - make DESTDIR=${pkgdir} install || return 1 +build() { + cd ${srcdir}/${_gitname} + make } -post_upgrade() { - echo "To enable IP location lookup, you need to download" - echo "qqwry.dat (from eg. http://www.cz88.net/fox/) and" - echo "install it as ~/.pcmanx/qqwry.dat (case sensitive)." +package() { + cd ${srcdir}/${_gitname} + make DESTDIR=${pkgdir} install } |