summaryrefslogtreecommitdiff
path: root/pcr/libmypaint/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libmypaint/PKGBUILD')
-rw-r--r--pcr/libmypaint/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/pcr/libmypaint/PKGBUILD b/pcr/libmypaint/PKGBUILD
deleted file mode 100644
index f80d8d265..000000000
--- a/pcr/libmypaint/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-
-pkgname=libmypaint
-pkgver=r519.60369db
-pkgrel=3
-pkgdesc='A library for making brushstrokes'
-arch=(i686 x86_64 armv7h)
-url=http://${pkgname#lib}.intilinux.com/
-license=(ISC)
-depends=(gegl gcc-libs glib2 json-c python2)
-makedepends=(git gperftools scons) # fail build with gobject-introspection; docs needs to build: doxygen python2-sphinx python2-breathe
-source=($pkgname::git+https://github.com/${pkgname#lib}/$pkgname)
-sha512sums=(SKIP)
-
-pkgver() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-build() {
- cd $srcdir/$pkgname
- mkdir $srcdir/$pkgname-fakeinstall
- scons \
- prefix=$srcdir/$pkgname-fakeinstall/usr \
- enable_docs=no \
- enable_gegl=yes \
- enable_gperftools=yes \
- enable_i18n=no \
- enable_introspection=no \
- use_glib=yes \
- use_sharedlib=yes \
- install
- # mv conflicting include/libmypaint dir to include/libmypaint-git
- mv $srcdir/$pkgname-fakeinstall/usr/include/libmypaint{,-git}
- # mv conflicting lib/pkgconfig/libmypaint.pc dir to lib/pkgconfig/libmypaint-git.pc
- mv $srcdir/$pkgname-fakeinstall/usr/lib/pkgconfig/libmypaint{,-git}.pc
-}
-
-package() {
- cp -a $srcdir/$pkgname-fakeinstall/* $pkgdir/
-}