blob: 959c5b6fcaec2a5dc446703f2ef41e4a0b9554c4 (
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
|
# Maintainer: 2-4601 <AUR@othermemory.org>
_pkgname=libgbinder
pkgname="${_pkgname}-git"
pkgver=1.1.42.r3.ga700ddd
pkgrel=1
pkgdesc="GLib-style interface to binder"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/mer-hybris/libgbinder"
license=('BSD-3-Clause')
depends=(
'glib2'
'libglibutil'
)
makedepends=(
'git'
)
provides=("${_pkgname}=${pkgver%%.r*}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+${url}.git")
b2sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${_pkgname}
make KEEP_SYMBOLS=1 release pkgconfig
}
package() {
cd ${_pkgname}
make install-dev DESTDIR="${pkgdir}"
}
|