updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / elfres / PKGBUILD
blob406aae44b5338007978d8efce6f37510028e65b4
1 # Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
3 pkgname=elfres
4 pkgver=0.4.2
5 pkgrel=1
6 pkgdesc="Add icons to ELF files"
7 url="http://www.compholio.com/elficon/"
8 license=('LGPL2' 'LGPL3')
9 arch=(i686)
10 makedepends=('libtool')
11 depends=('libr')
12 source=(http://ppa.launchpad.net/ehoover/compholio/ubuntu/pool/main/e/${pkgname}/${pkgname}_${pkgver}.tar.gz)
13 md5sums=('9f55d85fdfd951a43ca90a477ceb4de4')
15 build() {
16   install -d ${pkgdir}/usr
18   cd ${srcdir}/${pkgname}
19   
20   ln -s /usr/share/libtool/config/config.sub .
21   ln -s /usr/share/libtool/config/config.guess .
22   ./configure --prefix=${pkgdir}/usr || return 1
23   make || return 1
24   make install DESTDIR=${pkgdir}/usr || return 1