PKGBUILDs/community/teagtk/PKGBUILD
2009-10-09 21:15:33 -05:00

29 lines
1,008 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Michal Kaliszka <desmont@gmail.com>
# Contributor: Zsolt Varadi <sysop_xxl@fibermail.hu>
pkgname=teagtk
pkgver=17.6.6
pkgrel=2
pkgdesc="TEA is the GTK2-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions."
arch=('i686' 'x86_64')
url="http://tea-editor.sourceforge.net/"
license=('GPL')
depends=('gtksourceview2' 'enchant' 'curl')
source=(http://downloads.sourceforge.net/tea-editor/$pkgname-$pkgver.tar.bz2 \
teagtk.desktop)
md5sums=('f4950e7ba6f494a7a999e5b337f04d12'
'a5ae5c886abe50c5870f5531cb89bf40')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --enable-enchant || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -Dm644 ${srcdir}/teagtk.desktop \
${pkgdir}/usr/share/applications/teagtk.desktop
}