aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-24 23:09:57 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-24 23:09:57 +0200
commitecb184dce0ee96db9950925577037c17c4edc8ce (patch)
tree8a1841c7e2cbcf1d28e984b3ddbd6c73a9850f43 /dist/archlinux/stable
parentmore flexible info file (diff)
downloadgpp-ecb184dce0ee96db9950925577037c17c4edc8ce.tar.gz
gpp-ecb184dce0ee96db9950925577037c17c4edc8ce.tar.bz2
gpp-ecb184dce0ee96db9950925577037c17c4edc8ce.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist/archlinux/stable')
-rw-r--r--dist/archlinux/stable/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index 592cae5..c4cd561 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=general-preprocessor
-pkgver=1
+pkgver=1.1
pkgrel=1
pkgdesc="Bash based preprocessor for anything"
url="https://github.com/maandree/gpp"
@@ -11,19 +11,20 @@ depends=(python bash)
makedepends=(make coreutils python texinfo gzip)
install=general-preprocessor.install
source=("${url}/archive/${pkgver}.tar.gz")
-sha256sums=(1f60c616624e4cbef9140f19b758c7132f509e50dc659ef133952f1e46ddab25)
+sha256sums=(a9d8a140759b6b5bec779165aada466eedc2fb067f5f469f05c69cd059a6c50b)
_prefix=/usr
+_command=gpp ## change this if you have a package conflicting package
build() {
cd "${srcdir}/gpp-${pkgver}"
- make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}"
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command} "DESTDIR="${pkgdir}"
}
package() {
cd "${srcdir}/gpp-${pkgver}"
- make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command} DESTDIR="${pkgdir}" install
_dir="${pkgdir}${_prefix}/share/licenses/${pkgname}"
ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
}