summaryrefslogtreecommitdiff
path: root/extra/rest/PKGBUILD
blob: ed44bdfefb4afb5938ce2b9f77ddd33159beee4d (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
# $Id: PKGBUILD 183454 2013-04-21 22:12:01Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=rest
pkgver=0.7.90
pkgrel=2
pkgdesc="A helper library for RESTful services."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=(GPL2)
depends=(glib2 libxml2 'libsoup>=2.42.0')
makedepends=(gobject-introspection)
options=('!libtool')
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz)
sha256sums=('1d682acaac4d946cc7c98a2dd9d65a8c83a6fdb8ca6759e70b8b5042fe66c022')

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

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

# vim:set ts=2 sw=2 et: