aboutsummaryrefslogtreecommitdiffstats
path: root/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh
blob: 7d7459375fe647e26f6eed2b1e88857c9261d52b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
}