updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / lxshortcut / PKGBUILD
blob7cc8d1b32a94f9f58dd7fdd2e99340315b7107c8
1 # Contributor: zoulnix <http://goo.gl/HQaP>
2 pkgname=lxshortcut
3 pkgver=0.1.1
4 pkgrel=2
5 pkgdesc="Small program used to edit application shortcuts (part of LXDE)."
6 arch=('i686' 'x86_64')
7 url="http://lxde.org/"
8 license=('GPL')
9 depends=('gtk2')
10 makedepends=('autoconf' 'automake' 'gcc' 'intltool' 'make' 'patch' 'pkg-config')
11 options=('!libtool')
12 groups=('lxde')
13 source=(http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz \
14         ${pkgname}-loopfix.patch)
15 md5sums=('68419579deaecf696111bef97d3985bc' '3cc349b866b930fd29333bdf05070587')
17 build() {
18   cd ${srcdir}/${pkgname}-${pkgver}
20   # apply patch...
21   patch -Np1 -i ../${pkgname}-loopfix.patch || return 1
23   # Generating build system
24   sh autogen.sh || return 1
26   ./configure --prefix=/usr \
27               --sysconfdir=/etc \
28               --localstatedir=/var \
29               --disable-static
31   make || return 1
34 package() {
35   cd ${srcdir}/${pkgname}-${pkgver}
37   make DESTDIR=${pkgdir} install || return 1