diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-12-02 18:31:07 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-12-22 23:28:11 +0100 |
commit | 7f62161a1421adda5bc417887d94b92cba0c7290 (patch) | |
tree | 1a72097f6162ae362630fc99dac868775d5112cb /testing/sent/APKBUILD | |
parent | 741146a018ab85e2972158e6517586c938449ead (diff) | |
download | aports-7f62161a1421adda5bc417887d94b92cba0c7290.tar.bz2 aports-7f62161a1421adda5bc417887d94b92cba0c7290.tar.xz |
testing/sent: move from unmaintained
Diffstat (limited to 'testing/sent/APKBUILD')
-rw-r--r-- | testing/sent/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/sent/APKBUILD b/testing/sent/APKBUILD new file mode 100644 index 0000000000..9a7f3dd0ef --- /dev/null +++ b/testing/sent/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=sent +pkgver=0.2 +pkgrel=1 +pkgdesc="Simple plaintext presentation tool" +url="http://tools.suckless.org/sent/" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="libpng-dev libx11-dev libxft-dev" +install="" +subpackages="" +source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + make -C "$builddir" || return 1 +} + +package() { + cd "$builddir" + make PREFIX="/usr" DESTDIR="$pkgdir" \ + install || return 1 + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/ + install -m644 example nyan.png \ + "$pkgdir"/usr/share/doc/$pkgname/examples/ \ + || return 1 + install -m644 README.md \ + "$pkgdir"/usr/share/doc/$pkgname/ || return 1 +} + +md5sums="b45cea13e23711cbf917d5ca45186dc1 sent-0.2.tar.gz" +sha256sums="53b961f9d92a277a6408df7025b4a6deae6b655a797383c93442290e45391076 sent-0.2.tar.gz" +sha512sums="22c1e1e1bb7dbdaacb75a71a34ab533ca17b632e505ff96a351a907b861009b748502f7ad2934397f40842bef11e3072e814952a6abb141d470d0bb2e34a1540 sent-0.2.tar.gz" |