aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-24 22:56:01 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-24 22:56:01 +0200
commit9e893a16876fbc6a96236b18e5c246ccc8e10d3f (patch)
tree3655da94cf1e9d4e5902ab3b696a724c11df1c27 /dist/archlinux/stable/PKGBUILD
parentset shebang (diff)
downloadgpp-9e893a16876fbc6a96236b18e5c246ccc8e10d3f.tar.gz
gpp-9e893a16876fbc6a96236b18e5c246ccc8e10d3f.tar.bz2
gpp-9e893a16876fbc6a96236b18e5c246ccc8e10d3f.tar.xz
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..f997f85
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=gpp
+pkgver=1
+pkgrel=1
+pkgdesc="Bash based preprocessor for anything"
+url="https://github.com/maandree/gpp"
+arch=(any)
+license=(GPL3)
+depends=(python bash)
+makedepends=(make coreutils python texinfo gzip)
+install=gpp.install
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(1f60c616624e4cbef9140f19b758c7132f509e50dc659ef133952f1e46ddab25)
+
+_prefix=/usr
+
+
+build() {
+ cd "${srcdir}/gpp-${pkgver}"
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}"
+}
+
+package() {
+ cd "${srcdir}/gpp-${pkgver}"
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install
+ _dir="${pkgdir}${_prefix}/share/licenses/${pkgname}"
+ ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
+}
+