blob: 073b64797a21920e63c78c3c051cba6c7c399978 (
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
|
# Maintainer: Darryl Pogue <darryl@dpogue.ca>
pkgname="gplugin"
pkgver=0.27
pkgrel=3
arch=('i868' 'x86_64')
pkgdesc="A GObject based library that implements a reusable plugin system"
license=("LGPL 2")
url="https://bitbucket.org/gplugin/gplugin"
depends=("gtk3")
makedepends=("cmake"
"gcc"
"gobject-introspection"
"pkg-config"
"help2man"
"gettext")
options=('strip' '!debug' 'staticlibs')
source=("$pkgname::hg+https://bitbucket.org/$pkgname/$pkgname#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
mkdir -p build
cd build
cmake "$srcdir/$pkgname" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_C_FLAGS="${CFLAGS}" \
-DBUILD_LUA="Off" \
-DBUILD_PYTHON="Off" \
-DTESTING_ENABLED="Off"
make
}
package() {
cd "$srcdir/$pkgname"
cd build
make DESTDIR="$pkgdir" install
}
|