Browse Source

initial transfer

master
artoo 11 months ago
parent
commit
da7b8d7b56
2 changed files with 78 additions and 0 deletions
  1. 39
    0
      repos/extra-x86_64/PKGBUILD
  2. 39
    0
      trunk/PKGBUILD

+ 39
- 0
repos/extra-x86_64/PKGBUILD View File

@@ -0,0 +1,39 @@
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=rest
pkgver=0.8.1
pkgrel=1
pkgdesc="Helper library for RESTful services"
url="https://wiki.gnome.org/Projects/Librest"
arch=(x86_64)
license=(LGPL2.1)
depends=(glib2 libxml2 libsoup)
makedepends=(gobject-introspection gtk-doc git)
_commit=2971b3b92701f70fc368ad64bd25cefaea043f87 # tags/0.8.1^0
source=("git+https://git.gnome.org/browse/librest#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
cd librest
git describe --tags | sed 's/-/+/g'
}

prepare() {
cd librest
NOCONFIGURE=1 ./autogen.sh
}

build() {
cd librest
./configure --prefix=/usr --sysconfdir=/etc --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}

package() {
cd librest
make DESTDIR="$pkgdir" install
}

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

+ 39
- 0
trunk/PKGBUILD View File

@@ -0,0 +1,39 @@
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=rest
pkgver=0.8.1
pkgrel=1
pkgdesc="Helper library for RESTful services"
url="https://wiki.gnome.org/Projects/Librest"
arch=(x86_64)
license=(LGPL2.1)
depends=(glib2 libxml2 libsoup)
makedepends=(gobject-introspection gtk-doc git)
_commit=2971b3b92701f70fc368ad64bd25cefaea043f87 # tags/0.8.1^0
source=("git+https://git.gnome.org/browse/librest#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
cd librest
git describe --tags | sed 's/-/+/g'
}

prepare() {
cd librest
NOCONFIGURE=1 ./autogen.sh
}

build() {
cd librest
./configure --prefix=/usr --sysconfdir=/etc --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}

package() {
cd librest
make DESTDIR="$pkgdir" install
}

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

Loading…
Cancel
Save