mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:34:36 +08:00
36 lines
694 B
Bash
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"
|
|
}
|