updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / levee / PKGBUILD
blob6830f80b1d42d5dec7fc4ff63386f8b3f79c9f49
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=levee
4 pkgver=3.5a
5 pkgrel=3
6 pkgdesc="A small, modal text editor based on vi"
7 arch=('i686' 'x86_64')
8 url="http://www.pell.portland.or.us/~orc/Code/levee/"
9 license=('MIT')
10 depends=('ncurses')
11 conflicts=('lv')
12 source=(http://www.pell.portland.or.us/~orc/Code/$pkgname/$pkgname-$pkgver.tar.gz
13         $pkgname-$pkgver-$pkgrel.diff COPYING)
14 md5sums=('b4a8a33844522047f640d68ea429c6a7'
15          '48c423e66b0c9e0e0a59aa06bf6bba51'
16          'c3c3b5129975a2e707e2870735753853')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
20   patch -Np1 -i ../$pkgname-$pkgver-$pkgrel.diff || return 1
21   ./configure.sh --prefix=/usr
22   make || return 1
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   make PREFIX="$pkgdir" install
28   install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"