blob: 548997d97ed12e7d4aab57d2e95750049a155165 (
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
|
# Maintainer: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>
pkgname=libdevlock
pkgver=1.0.9.2
pkgrel=0
pkgdesc="provides an API for manupulating device lock code stored in CAL"
url="https://github.com/maemo-leste/$pkgname"
arch=(any)
license=(LGPL2)
depends=(libcal glib2 gconf)
makedepends=()
checkdepends=()
groups=(mer)
#source=("https://github.com/maemo-leste/mce/archive/$_commit/mce-$_commit.tar.gz"
source=("$pkgname::git+$url#tag=$pkgver")
sha256sums=('SKIP')
build() {
cd $pkgname
DESTDIR=$pkgdir PREFIX=/usr _UNITDIR=/usr/lib/systemd make
}
package() {
cd $pkgname
DESTDIR="$pkgdir" make install
ln -s $pkgname.so.1.0.9 "$pkgdir"/usr/lib/$pkgname.so
mv $pkgdir/bin $pkgdir/usr/bin
}
|