summaryrefslogtreecommitdiff
path: root/user/mousepad/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/mousepad/APKBUILD')
-rw-r--r--user/mousepad/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/mousepad/APKBUILD b/user/mousepad/APKBUILD
new file mode 100644
index 000000000..7b848ad28
--- /dev/null
+++ b/user/mousepad/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=mousepad
+pkgver=0.4.1
+pkgrel=0
+pkgdesc="Simple text editor for the XFCE desktop environment"
+url="https://xfce.org"
+arch="all"
+license="GPL-2.0+"
+makedepends="intltool glib-dev gtk+3.0-dev gtksourceview-3.0-dev dbus-glib-dev"
+subpackages="$pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/apps/mousepad/0.4/mousepad-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="2ffbb4245a3344437bd41f9f28cc066ae45062f6b6d169aa274e933f033c434f0b10845ccf42ab846dcad25ae7cee36ea6619bfb6889e8cd41c994be87b77be8 mousepad-0.4.1.tar.bz2"