summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e207f8401bf..e211709ea9f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=fltk-editor
_pkgname=fltk
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Simple text editor application for FLTK"
arch=('i686' 'x86_64')
url="http://www.fltk.org/"
@@ -14,20 +15,20 @@ source=(http://fltk.org/pub/fltk/$pkgver/fltk-$pkgver-source.tar.gz)
md5sums=('9f7e707d4fb7a5a76f0f9b73ff70623d')
prepare() {
- cd "$srcdir/$_pkgname-$pkgver"
- sed -i -e 's/$(LINKFLTK)/$(LINKSHARED)/' \
- -e 's/$(LINKFLTKIMG)/$(LINKSHARED)/' test/Makefile
- gendesk -n -f --pkgname=$pkgname --pkgdesc="Simple text editor" --name="FLTK Editor" --categories="Utility;TextEditor"
+ cd $_pkgname-$pkgver
+ sed -i -e 's/$(LINKFLTK)/$(LINKSHARED)/' \
+ -e 's/$(LINKFLTKIMG)/$(LINKSHARED)/' test/Makefile
+ gendesk -n -f --pkgname=$pkgname --pkgdesc="Simple text editor" --name="FLTK Editor" --categories="Utility;TextEditor"
}
build() {
- cd "$srcdir/$_pkgname-$pkgver"
- ./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
- make
+ cd $_pkgname-$pkgver
+ ./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
+ make
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
- install -Dm755 test/editor "$pkgdir/usr/bin/$pkgname"
- install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ cd $_pkgname-$pkgver
+ install -Dm755 test/editor "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
}