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