aboutsummaryrefslogtreecommitdiffstats
path: root/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdk-pixbuf/pkgbuild-gdk-pixbuf.sh')
-rw-r--r--gdk-pixbuf/pkgbuild-gdk-pixbuf.sh42
1 files changed, 42 insertions, 0 deletions
diff --git a/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh b/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh
new file mode 100644
index 0000000..7d74593
--- /dev/null
+++ b/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh
@@ -0,0 +1,42 @@
+#Maintainer: purnomo hadi <dimension.breaker@dracos-linux.org>
+#Contributor: zee eichel <zee@dracos-linux.org>
+
+pkgname=gdk-pixbuf
+pkgver=2.38.0
+pkgrel=1
+pkgdesc="The Gdk Pixbuf package is a toolkit for image loading and pixel buffer manipulation. "
+arch=(x86_64)
+url="gnome.org"
+license=('GPLv2.1')
+depends=('glib' 'libjpeg-turbo' 'libpng' 'shared-mime-info' )
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+source=("http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/$pkgname-$pkgver.tar.xz")
+sha256sums=('dd50973c7757bcde15de6bcd3a6d462a445efd552604ae6435a0532fbbadae47')
+
+build() {
+ cd "$pkgname-$pkgver"
+ mkdir build &&
+ cd build
+ meson --prefix=/usr \
+ --libdir=/usr/lib \
+ --sysconfdir /etc \
+ --localstatedir /var \
+ --buildtype=plain -Dman=false -Ddocs=false \
+ ..
+ ninja
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ cd build
+
+ DESTDIR="$pkgdir" ninja install
+
+ if [ -d "$pkgdir/usr/share/man" ]; then
+ rm -rf $pkgdir/usr/share/man
+ fi
+ if [ -d "$pkgdir/usr/share/doc" ]; then
+ rm -rf $pkgdir/usr/share/doc
+ fi
+}