aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-03-25 10:21:40 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-03-25 10:28:05 +0000
commitdc4892630009d6b1b2c0f42d287499c1b71d5926 (patch)
treee9b16d600cbb09648c67a5a483032c4081106ca7 /testing
parente96116f925011fae5ddf83a07cf778e8a9738211 (diff)
downloadaports-dc4892630009d6b1b2c0f42d287499c1b71d5926.tar.bz2
aports-dc4892630009d6b1b2c0f42d287499c1b71d5926.tar.xz
testing/sc-im: new aport (fixes #6322)
SC-IM is a spreadsheet program that is based on SC.
Diffstat (limited to 'testing')
-rw-r--r--testing/sc-im/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/sc-im/APKBUILD b/testing/sc-im/APKBUILD
new file mode 100644
index 0000000000..3945982fbe
--- /dev/null
+++ b/testing/sc-im/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
+# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
+pkgname=sc-im
+pkgver=0.7.0
+pkgrel=0
+pkgdesc="SC-IM is a spreadsheet program that is based on SC"
+url="https://github.com/andmarti1424/sc-im"
+arch="all"
+license="BSD"
+makedepends="bison ncurses-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/andmarti1424/sc-im/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver/src"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+ ./scim --version > /dev/null
+}
+
+package() {
+ cd "$builddir"
+ make install DESTDIR="$pkgdir"
+ mv -f "$pkgdir"/usr/local/bin "$pkgdir"/usr/bin
+ mv -f "$pkgdir"/usr/local/share "$pkgdir"/usr/share
+}
+
+sha512sums="47bc02d4b698c30a3144733216cfdf57daafb4115e5d49774104c4fedbd22f1ab7e491e1fc16683273c8c5e8820f6caf2389223c4789b9e3f777d57528b76f1b sc-im-0.7.0.tar.gz"