summaryrefslogtreecommitdiff
path: root/user/mousepad/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-07 12:43:51 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-07 12:43:51 -0500
commitc6e66eae9fd38216f7639f6be4467a2acc6ee389 (patch)
treeaec289435377f6696bdd4eb480f88503fe36dbfb /user/mousepad/APKBUILD
parenta183df1c146910c7da7283c0cf13bdf853a37a88 (diff)
downloadpackages-c6e66eae9fd38216f7639f6be4467a2acc6ee389.tar.gz
packages-c6e66eae9fd38216f7639f6be4467a2acc6ee389.tar.bz2
packages-c6e66eae9fd38216f7639f6be4467a2acc6ee389.tar.xz
packages-c6e66eae9fd38216f7639f6be4467a2acc6ee389.zip
user/mousepad: new package
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"