blob: 1c8455701507eff1aa9cf4060f8f9291a84af83a (
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: Michael Hansen <zrax0111 gmail com>
_pkgname=libbuddy
pkgname=$_pkgname-git
pkgver=0.3.3.r1.g819cd6d
pkgrel=1
pkgdesc="Simple library for managing iBuddy and Blync devices"
arch=("i686" "x86_64" "armv6h" "armv7h")
url="https://github.com/zrax/libbuddy"
license=("GPL2")
provides=("$_pkgname")
conflicts=("$_pkgname")
depends=("libusb")
makedepends=("git")
source=("git+https://github.com/zrax/$_pkgname.git")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
/bin/bash autogen.bash
mkdir -p "$srcdir/build"
cd "$srcdir/build"
"$srcdir/$_pkgname/configure" --prefix=/usr
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}
|