updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / esnc / PKGBUILD
blobbad1d6514598923fc81b4ad5715d3050a37de33b
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=esnc
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="A fork of Ersatz Emacs, the smallest of the microEmacs forks."
7 arch=(i686 x86_64)
8 url="http://essence.tuxfamily.org/"
9 license=('GPL')
10 depends=('ncurses')
11 source=($url$pkgname-$pkgver.tar.bz2)
12 md5sums=('1343db23bd226a7ebcf19fe6edbd04ac')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   # link against ncurses
18   sed -i 's/termcap/ncursesw/' Makefile
20   make
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
26   # bin
27   install -Dm755 $pkgname \
28     "$pkgdir/usr/bin/$pkgname"
30   # keys
31   install -Dm644 Essence.keys \
32     "$pkgdir/usr/share/$pkgname/Essence.keys"
34   # man
35   install -Dm644 $pkgname.1 \
36     "$pkgdir/usr/share/man/man1/$pkgname.1"
39 # vim:set ts=2 sw=2 et: