updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / lde / PKGBUILD
blobf9691ef0c03ec0b0746f3576654ddf85594a0a3f
1 # Maintainer: corvolino <corvolino@archlinux.com.br>
3 pkgname=lde
4 pkgver=2.6.1
5 pkgrel=5
6 pkgdesc="A disk editor for linux"
7 arch=(i686 x86_64)
8 license=('GPL')
9 url="http://lde.sourceforge.net/"
10 depends=('gpm>=1.20.4')
11 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
12 md5sums=('7cd3a798cafc07d084db240fd1d1c830')
14 build() {
15   cd $srcdir/$pkgname
16   ./configure --prefix=/usr
17   sed -e 's/daylight/daylight2/g' -i src/swiped/cnews/getdate.y
18   sed -e 's@/sbin@${prefix}/sbin@g' -i Makefile
19   make || return 1
20   make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man/man8 \
21        INSTALL='install -Dc' install