archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libepc / trunk / PKGBUILD
blobfdaafacc8addbec8ff1150b6733cd22b9809e5dc
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=libepc
4 pkgver=0.4.6
5 pkgrel=2
6 pkgdesc="Easy Publish and Consume Library"
7 arch=(x86_64)
8 license=('LGPL')
9 url="https://wiki.gnome.org/Projects/libepc"
10 depends=('gtk3' 'avahi' 'libsoup')
11 makedepends=('intltool' 'python')
12 source=(https://download.gnome.org/sources/$pkgname/0.4/$pkgname-$pkgver.tar.xz)
13 sha256sums=('215990847a8526c85774cb74fbcaea4c46866df58281b21dce5a62aac5da7ae8')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   ./configure --prefix=/usr --sysconfdir=/etc \
18       --localstatedir=/var --disable-static
20   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir" install