core/graphene/PKGBUILD
2017-10-23 00:10:01 +02:00

36 lines
694 B
Bash

# arch contributor: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/graphene
pkgname=graphene
pkgver=1.6.0
pkgrel=1
pkgdesc="A thin layer of graphic data types"
arch=(x86_64)
license=(MIT)
url="https://github.com/ebassi/graphene"
depends=(glib2)
makedepends=(git gtk-doc gobject-introspection)
source=("git+$url#tag=$pkgver")
md5sums=('SKIP')
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --enable-gtk-doc
make
}
check() {
cd $pkgname
make check
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}