blob: 4a1cbc02365fa0d6558258453ef0ce8e34ee11c7 (
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
43
44
45
|
# Maintainer: orumin <dev@orum.in>
_basename=graphene
pkgname="lib32-$_basename"
pkgver=1.4.0
pkgrel=3
pkgdesc="A thin layer of graphic data types (32-bit)"
url="https://github.com/ebassi/graphene"
arch=('x86_64')
license=(MIT)
depends=('lib32-glib2')
makedepends=('git' 'gobject-introspection')
source=("git+$url#tag=$pkgver")
md5sums=('SKIP')
prepare() {
cd $_basename
sed -i '1s/python$/&2/' build/identfilter.py
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $_basename
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./configure --prefix=/usr --disable-gtk-doc \
--build=i686-pc-linux-gnu --libdir=/usr/lib32 --disable-tests
make
}
check() {
cd $_basename
make check
}
package() {
cd $_basename
make DESTDIR="$pkgdir" install
cd "$pkgdir"/usr
rm -r include share
}
|