diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-14 09:00:14 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-14 09:00:21 +0000 |
commit | 0126ba3d84d35779e1ff8a0b5eb0d1162b37796a (patch) | |
tree | 0f4af3407a8940d6fe5e505d3dc8e27e81f812b4 /main/sqsh | |
parent | ee714675ff9713bb4f55a20bdeb5527cca639fd1 (diff) | |
download | aports-0126ba3d84d35779e1ff8a0b5eb0d1162b37796a.tar.bz2 aports-0126ba3d84d35779e1ff8a0b5eb0d1162b37796a.tar.xz |
main/sqsh: upgrade to 2.5.16.1
Diffstat (limited to 'main/sqsh')
-rw-r--r-- | main/sqsh/APKBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/main/sqsh/APKBUILD b/main/sqsh/APKBUILD index 339be54d3f..f283c7a57c 100644 --- a/main/sqsh/APKBUILD +++ b/main/sqsh/APKBUILD @@ -1,8 +1,13 @@ # Contributor: Ashton Spencer <aspec.451@gmail.com> # Maintainer: Jeff Bilyk <jbilyk@gmail.com> pkgname=sqsh -pkgver=2.4 -pkgrel=1 +pkgver=2.5.16.1 +case $pkgver in +*.*.*.*) _v=${pkgver%.*.*};; +*.*.*) _v=${pkgver%.*};; +*) _v=$pkgver;; +esac +pkgrel=0 pkgdesc="Sybase iSQL replacement" url="http://www.sqsh.org" arch="all" @@ -12,14 +17,12 @@ depends_dev="" makedepends="freetds-dev readline-dev ncurses-dev" install="" subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/sqsh/sqsh/sqsh-$pkgver/sqsh-$pkgver.tgz - readline-6.3.patch" +source="http://downloads.sourceforge.net/project/sqsh/sqsh/sqsh-$_v/sqsh-$pkgver.tgz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$_v prepare() { local i - cd "$_builddir" - update_config_sub || return 1 + cd "$builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -28,7 +31,7 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" SYBASE=/usr export SYBASE ./configure \ @@ -43,14 +46,11 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install.man || return 1 } -md5sums="0ad6cc9452d3257866ccde5f14ffa013 sqsh-2.4.tgz -741e42e85e0cd80233931c0cb815aef6 readline-6.3.patch" -sha256sums="f3e1e3c1b142a369bf7db4411db10d8f2d010d787abbc95c8227af1c19b22ec8 sqsh-2.4.tgz -b453e37fd41835bf81d55ca74b64891655795d7f643106f3cf0602ce2e921a62 readline-6.3.patch" -sha512sums="6d9b7edab4e26b072dd894c5bce67d9f9670ec7dca658c6d366a0419a1c52ad9b7800750af1c7b702072f359b0efa01a699d5722b996bcd513dfa049b922f9fb sqsh-2.4.tgz -5105895b9583f3043ba91cdbb857136acd2176f596f173c0c9440810f774fbb6d9e15cc35474527a7ac68612d49568f995c198f3833ddd8c583e4b77baf03097 readline-6.3.patch" +md5sums="8ddbc202f1457a98e9ad74eb54cd668b sqsh-2.5.16.1.tgz" +sha256sums="d6641f365ace60225fc0fa48f82b9dbed77a4e506a0e497eb6889e096b8320f2 sqsh-2.5.16.1.tgz" +sha512sums="d011d413f5a21059e1b043c75f0a15ea29d10972b59ea980ebcb010b1b0e16eb377a66d21ba4f3ea4433c4deac5ba80b1af7e858129a306a6611de32da48981c sqsh-2.5.16.1.tgz" |