You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
834B

  1. # $Id$
  2. # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
  3. pkgname=rest
  4. pkgver=0.8.1
  5. pkgrel=1
  6. pkgdesc="Helper library for RESTful services"
  7. url="https://wiki.gnome.org/Projects/Librest"
  8. arch=(x86_64)
  9. license=(LGPL2.1)
  10. depends=(glib2 libxml2 libsoup)
  11. makedepends=(gobject-introspection gtk-doc git)
  12. _commit=2971b3b92701f70fc368ad64bd25cefaea043f87 # tags/0.8.1^0
  13. source=("git+https://git.gnome.org/browse/librest#commit=$_commit")
  14. sha256sums=('SKIP')
  15. pkgver() {
  16. cd librest
  17. git describe --tags | sed 's/-/+/g'
  18. }
  19. prepare() {
  20. cd librest
  21. NOCONFIGURE=1 ./autogen.sh
  22. }
  23. build() {
  24. cd librest
  25. ./configure --prefix=/usr --sysconfdir=/etc --enable-gtk-doc
  26. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  27. make
  28. }
  29. package() {
  30. cd librest
  31. make DESTDIR="$pkgdir" install
  32. }
  33. # vim:set ts=2 sw=2 et: