summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro López-Valencia2018-02-06 12:37:00 -0500
committerAlejandro López-Valencia2018-02-06 12:37:00 -0500
commit6bbf97b364a9ac29944659d99170a2cd4d9c5566 (patch)
tree5b626d7f9fa70989e6aca0eaa135dfc6663ba2ad
parentc1bf82d2f54805c74bdc9c179a90f8b91e1f3a99 (diff)
downloadaur-6bbf97b364a9ac29944659d99170a2cd4d9c5566.tar.gz
Upstream changed version building method.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c8a4099248e..a54616d3c24 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = groff-git
pkgdesc = GNU Troff. Official git trunk.
- pkgver = 1.22.3.r3051
+ pkgver = 1.22.3.real.439.g38fde075
pkgrel = 1
url = http://www.gnu.org/software/groff/
install = groff-git.install
diff --git a/PKGBUILD b/PKGBUILD
index d562413ce29..e1b309da552 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: See AUR interface for current maintainer and contact information.
pkgname=groff-git
-pkgver=1.22.3.r3051
+pkgver=1.22.3.real.439.g38fde075
pkgrel=1
pkgdesc="GNU Troff. Official git trunk."
arch=('i686' 'x86_64')
@@ -24,8 +24,7 @@ sha384sums=('SKIP'
pkgver() {
cd "$srcdir/$pkgname"
- printf "%s.%s.r%s" "$(cat -s VERSION)" "$(cat -s REVISION)"\
- "$(git rev-list --count HEAD)"
+ printf "%s" "$(git describe | sed 's/\-/\./g')"
}
@@ -60,7 +59,11 @@ check() {
package() {
cd "$srcdir/$pkgname"/build
- make DESTDIR="$pkgdir/" install
+ if [[ ${LANG/en_US} ]] || [[ ${LANG/es_CO} ]]; then
+ make DESTDIR="$pkgdir/" PAPER=letter install
+ else
+ make DESTDIR="$pkgdir/" install
+ fi
## Copypaste from core package's PKGBUILD...