aboutsummaryrefslogtreecommitdiffstats
path: root/graphite2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'graphite2/PKGBUILD')
-rw-r--r--graphite2/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphite2/PKGBUILD b/graphite2/PKGBUILD
new file mode 100644
index 0000000..2d2fa4e
--- /dev/null
+++ b/graphite2/PKGBUILD
@@ -0,0 +1,32 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgbase=graphite2
+pkgname=('graphite2')
+pkgver=1.3.13
+pkgrel=1
+arch=('x86_64')
+url="https://github.com/silnrsi/graphite"
+license=('LGPL' 'GPL' 'custom')
+makedepends=('cmake')
+optdepends=('python2')
+source=("https://github.com/silnrsi/graphite/releases/download/${pkgver}/graphite2-${pkgver}.tgz")
+sha256sums=('dd63e169b0d3cf954b397c122551ab9343e0696fb2045e1b326db0202d875f06')
+
+prepare() {
+cd "$pkgname"-"$pkgver"
+sed -i '/cmptest/d' tests/CMakeLists.txt
+mkdir build
+}
+
+build () {
+ cd "$pkgname"-"$pkgver"
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+}
+
+
+package() {
+ cd "$pkgname"-"$pkgver"
+ cd build
+ make DESTDIR="$pkgdir/" install
+}