blob: 6257c0b0999236963029cfc1570ffc3bda3b3b2c (
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
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-lgi
pkgver=0.7.1
pkgrel=0
pkgdesc="Lua binding using gobject-introspection"
url="http://github.com/pavouk/lgi"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="lua-dev gtk+-dev gobject-introspection-dev libffi-dev"
install=""
subpackages="$pkgname-doc"
source="lgi-$pkgver.tar.gz::https://github.com/pavouk/lgi/archive/$pkgver.tar.gz"
_builddir="$srcdir"/lgi-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make PREFIX=/usr
}
package() {
cd "$_builddir"
make install PREFIX=/usr DESTDIR="$pkgdir"
mkdir -p "$pkgdir"/usr/share/doc/lua-lgi
cp -r docs/* samples "$pkgdir"/usr/share/doc/lua-lgi/
}
md5sums="de7367aee8e39f7df7c2229675c5ff2d lgi-0.7.1.tar.gz"
sha256sums="05a5fb7175836975f142bd0782fd18a851c8239d1cd26c9fb1d79b5c00af92e6 lgi-0.7.1.tar.gz"
sha512sums="ffca37c874040745d730b089eddfdd44e515fb61ffdd7d7de3f7947156ce7d03c2376c020584137dc4f54b4c9ff448fdb1ed8e581f4bf3f003d96c47517166a6 lgi-0.7.1.tar.gz"
|