aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sc-im/APKBUILD
blob: bfcb176ca1b00c5738e7f8ebd95d666743b83ef6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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"
options="!check"
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"