summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2017-10-15 16:27:10 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2017-10-15 16:27:10 +0000
commit6243943c7d8f24015960f779e42f08617a824ace (patch)
tree1e8811a6075b58879565f38013c1bb255343c8b8 /user
parent104603bff617a4686cc54edfa56e7ead128c3140 (diff)
parentfdc0e4ddb264824dbb923086ff3ffa299ff60a3e (diff)
downloadpackages-6243943c7d8f24015960f779e42f08617a824ace.tar.gz
packages-6243943c7d8f24015960f779e42f08617a824ace.tar.bz2
packages-6243943c7d8f24015960f779e42f08617a824ace.tar.xz
packages-6243943c7d8f24015960f779e42f08617a824ace.zip
Merge branch 'featherpad' into 'master'
user/featherpad: new package See merge request !5
Diffstat (limited to 'user')
-rw-r--r--user/featherpad/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/featherpad/APKBUILD b/user/featherpad/APKBUILD
new file mode 100644
index 000000000..11d0e0fb3
--- /dev/null
+++ b/user/featherpad/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=featherpad
+pkgver=0.6
+pkgrel=0
+pkgdesc="Featureful Qt-based text editor"
+url="https://github.com/tsujan/FeatherPad"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="qt5-qtbase-dev qt5-qtx11extras-dev qt5-qttools-dev qt5-qtsvg-dev libx11-dev libxext-dev"
+install=""
+subpackages="$pkgname-lang"
+source="FeatherPad-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz"
+builddir="$srcdir/FeatherPad-$pkgver"
+# no tests
+options="!check"
+
+build() {
+ cd "$builddir"
+ qmake-qt5
+ make PREFIX=/usr
+}
+
+lang() {
+ mkdir -p "$subpkgdir"/usr/share/$pkgname
+ mv "$pkgdir"/usr/share/$pkgname/translations "$subpkgdir"/usr/share/$pkgname/translations
+}
+
+package() {
+ cd "$builddir"
+ make INSTALL_ROOT="$pkgdir" PREFIX=/usr install
+}
+
+sha512sums="5cf5f46a3e8a09fa81c247b5731f7fa35b7232ac8db789acd974161f4ad5a2ffc992f62a66f9ee0ff6adb66f99f650a173f12c91938132e11efa6ec0feee26e7 FeatherPad-0.6.tar.gz"