diff options
author | Jakob Gahde | 2016-06-07 17:56:00 +0200 |
---|---|---|
committer | Jakob Gahde | 2016-06-07 17:56:00 +0200 |
commit | 72630da7d276acdf7b6f06e5016483901e980be0 (patch) | |
tree | ee06f8873874ab06da02108580a492d8f51b81cd | |
parent | e4fd3eb968afadeb2d05aa8c7dbfe75daa22835a (diff) | |
download | aur-72630da7d276acdf7b6f06e5016483901e980be0.tar.gz |
polyglot-winboard-git 1:r44.5904a29-1: Download from actual repository
I finally figured out where it's located! Yay!
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 16 insertions, 18 deletions
@@ -1,19 +1,20 @@ # Generated by mksrcinfo v8 -# Sat Jan 16 21:08:14 UTC 2016 +# Tue Jun 7 15:54:54 UTC 2016 pkgbase = polyglot-winboard-git pkgdesc = UCI/USI/UCCI to XBoard adapter (WinBoard fork) - pkgver = d86ce4e + pkgver = r44.5904a29 pkgrel = 1 epoch = 1 url = http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=summary arch = i686 arch = x86_64 license = GPL2 + makedepends = git depends = glibc - provides = polyglot + provides = polyglot=r44.5904a29 conflicts = polyglot replaces = polyglot - source = polyglot.tar.gz::http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=snapshot;h=refs/heads/learn;sf=tgz + source = git+http://hgm.nubati.net/git/polyglot.git md5sums = SKIP pkgname = polyglot-winboard-git @@ -1,7 +1,8 @@ # Maintainer: Jakob Gahde <j5lx@fmail.co.uk> +_pkgname=polyglot pkgname=polyglot-winboard-git -pkgver=d86ce4e +pkgver=r44.5904a29 pkgrel=1 epoch=1 pkgdesc="UCI/USI/UCCI to XBoard adapter (WinBoard fork)" @@ -9,32 +10,28 @@ arch=('i686' 'x86_64') url="http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=summary" license=('GPL2') depends=('glibc') -provides=('polyglot') -conflicts=('polyglot') -replaces=('polyglot') -# If anyone knows the URL of the actual repository, please tell me! -source=("polyglot.tar.gz::http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=snapshot;h=refs/heads/learn;sf=tgz") +makedepends=('git') +provides=("${_pkgname}=${pkgver}") +conflicts=("${_pkgname}") +replaces=("${_pkgname}") +source=("git+http://hgm.nubati.net/git/${_pkgname}.git") md5sums=('SKIP') -_enter_polyglot_directory() { - cd $(ls -lt --color=never $srcdir | grep '^d' | grep -Eo 'polyglot-learn-[a-f0-9]+$' | head -n1) -} - pkgver() { - _enter_polyglot_directory + cd "${srcdir}/${_pkgname}" - pwd | grep -Po '[a-f0-9]+$' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - _enter_polyglot_directory + cd "${srcdir}/${_pkgname}" ./configure --prefix=/usr make } package() { - _enter_polyglot_directory + cd "${srcdir}/${_pkgname}" make DESTDIR="${pkgdir}" install } |