diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-07-19 21:59:07 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-07-19 21:59:07 +0200 |
commit | 3037298ac0ea6d1da9becc31fa3cdde3fe48d361 (patch) | |
tree | c4ded01f76cdf5b83d69d558932d8b8f69a7a934 /testing/dvtm/APKBUILD | |
parent | 73b4a1dcdba7069e89199160974159a3c4b9a6f0 (diff) | |
download | aports-3037298ac0ea6d1da9becc31fa3cdde3fe48d361.tar.bz2 aports-3037298ac0ea6d1da9becc31fa3cdde3fe48d361.tar.xz |
testing/dvtm: new aport
Diffstat (limited to 'testing/dvtm/APKBUILD')
-rw-r--r-- | testing/dvtm/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/dvtm/APKBUILD b/testing/dvtm/APKBUILD new file mode 100644 index 000000000..48f589ba8 --- /dev/null +++ b/testing/dvtm/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: +# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> + +pkgname=dvtm +pkgver=0.9 +pkgrel=0 +pkgdesc='Dynamic virtual terminal manager' +arch='all' +url='http://www.brain-dump.org/projects/dvtm/' +license='MIT' +makedepends='ncurses-dev' +source="http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz + config.h + 0001-Makefile-respect-DESTDIR-in-tic-invocation.patch" + +prepare() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -Np1 -i \ + "$srcdir"/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch \ + || return 1 + + cp "${srcdir}"/config.h . + sed -i 's/CFLAGS =/CFLAGS +=/' config.mk || return 1 +} + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + make || return 1 +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make PREFIX=/usr DESTDIR="${pkgdir}" install || return 1 + install -Dm0644 LICENSE \ + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1 +} +md5sums="7de1103abb0ca410f7250cf89f019a38 dvtm-0.9.tar.gz +41107e5e84a8572f70d6cb111b4e07f8 config.h +c85d8265ced45d014a7d3f05134bf6a1 0001-Makefile-respect-DESTDIR-in-tic-invocation.patch" +sha256sums="c751fb5778ecd24465c0db0e5ab9ac0a3e0dd61ab006708d6168fd609e81aa98 dvtm-0.9.tar.gz +df4b7e544ebb65d5da87f28388c175ea11a48d8df657996372a658be651951df config.h +0eb584e1f66ebc264f31364da9e54e425d0cbd95f93cbbf1ec34cfc1b37161a6 0001-Makefile-respect-DESTDIR-in-tic-invocation.patch" +sha512sums="33c6f32510b17c0dcb3c8a216fd8c4cde14d6874495a9e0992c2104fda2ee7edb9a40de25c2efc84337b6f61858c1bf3e0e4ed5d77ab4d2db01ddfa02c1d4eaa dvtm-0.9.tar.gz +34a610311a9716b98fe197f82b14c1cd38f69ee0b562f23a987e910eaef07bf57963495f5ce15922c5e4568bc84f875c9be239d6821fb6dd8b08cdeb3aaa472b config.h +31dce735c16f6750991f7d7ca8735c5407923253c489fe6f2bda739fd98771f571592e102b41a47ca1633dbea118b757cf4ecc285c517c4a869e6d0e4bed8329 0001-Makefile-respect-DESTDIR-in-tic-invocation.patch" |