blob: cb1196d8a91dc31294641391a89551e4e54dc50a (
plain)
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=giblib
pkgver=1.2.4
pkgrel=7
pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2"
url="http://linuxbrit.co.uk/giblib/"
arch="all"
license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
depends=
makedepends="imlib2-dev libxext-dev libx11-dev freetype-dev zlib-dev"
source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz"
depends_dev="imlib2-dev freetype-dev zlib-dev libx11-dev libxext-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" docsdir=/usr/share/doc/giblib install || return 1
rm "$pkgdir"/usr/lib/*.la
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
md5sums="c810ef5389baf24882a1caca2954385e giblib-1.2.4.tar.gz"
|