summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-12-14 09:20:16 -0700
committerBrian Bidulock2015-12-14 09:20:16 -0700
commitb22ee33b06b4e83def590ce7f9e0f619400cbfa8 (patch)
tree09b01d66d619630c77b0da7c6da181c6c9c43f81
parent615a2d2e8c0c2b16f129ae08cf9e03a2d85d28a7 (diff)
downloadaur-b22ee33b06b4e83def590ce7f9e0f619400cbfa8.tar.gz
version 1.3.2-2 (cxx11 ABI)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD23
2 files changed, 15 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0da88b28e8a..144c2392a86 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Mon Dec 14 16:17:18 UTC 2015
pkgbase = fltk-editor
pkgdesc = Simple text editor application for FLTK
pkgver = 1.3.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.fltk.org/
arch = i686
arch = x86_64
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"
}