updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / mp-5-gtk / PKGBUILD
blob6100c59b79387bdd7092fe2ab0485f9c5f8c478f
1 # Contributor: Sebastian Voecking <voeck@web.de>
2 pkgname=mp-5-gtk
3 pkgver=5.1.2
4 pkgrel=1
5 pkgdesc="A text editor for programmers (GTK frontend)"
6 arch=('i686' 'x86_64')
7 url="http://www.triptico.com/software/mp.html"
8 license=('GPL')
9 depends=('gtk2')
10 source=("http://www.triptico.com/download/mp-${pkgver}.tar.gz"
11                 'MinimumProfit.desktop')
12 conflicts=('mp-5')
13 md5sums=('663504098214a334d0e136a3cbe41dd6'
14          '7eae413ded2d6f69fba8347240b8b875')
16 build() {
17   cd $startdir/src/mp-${pkgver}
18   ./config.sh --prefix=/usr --without-kde4
19   make || return 1
20   install -d -m755 ${startdir}/pkg/usr/bin
21   make DESTDIR=${startdir}/pkg install
22   install -D -m644 mp.png ${startdir}/pkg/usr/share/pixmaps/mp.png
23   install -D ${startdir}/MinimumProfit.desktop ${startdir}/pkg/usr/share/applications/MinimumProfit.desktop