aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'dist/archlinux/stable/PKGBUILD')
-rw-r--r--dist/archlinux/stable/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index 1b99732..392dd76 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.1.1
+pkgver=1.2
pkgrel=1
pkgdesc="Bash based preprocessor for anything"
url="https://github.com/maandree/gpp"
@@ -11,7 +11,7 @@ depends=(python bash)
makedepends=(make coreutils python texinfo)
install=general-preprocessor.install
source=("${url}/archive/${pkgver}.tar.gz")
-sha256sums=(46e03434dc00cf292ed14188d7baf771f59ae325f98f88df571c07e5f68b2cfa)
+sha256sums=(0bb8d5ca0de898e6ee0d9f499ef85ce01ca526011cc862c1c65cf8f130e86282)
_prefix=/usr
_command=gpp ## change this if you have a package conflicting package
@@ -19,12 +19,12 @@ _command=gpp ## change this if you have a package conflicting package
build() {
cd "${srcdir}/gpp-${pkgver}"
- make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command}" DESTDIR="${pkgdir}"
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command}" DESTDIR="${pkgdir}" PY=python3
}
package() {
cd "${srcdir}/gpp-${pkgver}"
- make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command}" DESTDIR="${pkgdir}" install
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command}" DESTDIR="${pkgdir}" PY=python3 install
_dir="${pkgdir}${_prefix}/share/licenses/${pkgname}"
ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
}