diff options
-rw-r--r-- | community/calcurse/APKBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/community/calcurse/APKBUILD b/community/calcurse/APKBUILD index 7f95372e02..96352ae37b 100644 --- a/community/calcurse/APKBUILD +++ b/community/calcurse/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Maintainer: pkgname=calcurse -pkgver=4.0.0 +pkgver=4.2.1 pkgrel=0 pkgdesc="A text-based personal organizer" url="http://calcurse.org/" @@ -12,12 +12,16 @@ makedepends="ncurses-dev" subpackages="$pkgname-doc" source="http://calcurse.org/files/${pkgname}-${pkgver}.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ + --sysconfdir=/etc \ --mandir=/usr/share/man \ + --localstatedir=/var \ --enable-docs \ --without-asciidoc \ || return 1 @@ -25,10 +29,10 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="3cd414a30e6e1d118ae340bc7cb1a93a calcurse-4.0.0.tar.gz" -sha256sums="621b0019907618bd468f9c4dc1ce2186ee86254d3c9ade47dd2d7ab8e6656334 calcurse-4.0.0.tar.gz" -sha512sums="42a1b317bfd38974cbe4a4d3d1c848b8cd09233fc71f1f3ce36daf33352d9caffd7926c75d5e7ae6dd1138b8735a5244d5411fa1875a3262f1dc37c0a101d38c calcurse-4.0.0.tar.gz" +md5sums="8c06097174ede9f306226b11565724d8 calcurse-4.2.1.tar.gz" +sha256sums="9d5db3fa920e82d76e43a08c4bd3554ffdde023385b0f9c37e6f0e99d8d00598 calcurse-4.2.1.tar.gz" +sha512sums="77f7fd23fe28e34ace29239530948c7576196339e4c603952dd5d48a201fa2e52bfcfaf411edf3f299c9d8b30d659febade68679fc65a2b87afb305bbf5db8df calcurse-4.2.1.tar.gz" |