summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ef77bfd27df7477100e2debe98862472919afa9 (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
# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>

pkgname=libosso
pkgver=2.35
pkgrel=1
pkgdesc="Basic library for Maemo applications"
arch=("x86_64" "i686")
url="https://github.com/maemo-leste/libosso"
license=('LGPL2.1')
depends=('dbus-glib')
makedepends=('mce-dev')
source=("$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('8f542e2cac593f2d4bbb7faba0b3d31ea88be07fefaa17ad77961dcb4e0fe2a9958fdf79e29e76bdbfd1b62c434c4a4018a26ec2da5a8e917a1de884d3b6892b')

prepare() {
  cd "$pkgname-$pkgver"
  ./autogen.sh
}

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}