[arch-commits] Commit in haskell-text/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Mar 31 18:05:41 UTC 2015
Date: Tuesday, March 31, 2015 @ 20:05:41
Author: jelle
Revision: 130424
upgpkg: haskell-text 1.2.0.4-3
ghc 7.10.1 rebuild
Modified:
haskell-text/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-31 17:47:34 UTC (rev 130423)
+++ PKGBUILD 2015-03-31 18:05:41 UTC (rev 130424)
@@ -3,13 +3,13 @@
_hkgname=text
pkgname=haskell-text
pkgver=1.2.0.4
-pkgrel=2
+pkgrel=3
pkgdesc="An efficient packed Unicode text type."
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
options=('staticlibs')
-depends=('ghc' 'sh')
+depends=('ghc=7.10.1' 'sh')
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
install=${pkgname}.install
md5sums=('77a8e63bb883317f8f2c15e64e8a7ff5')
@@ -33,17 +33,7 @@
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
-_update_deps() {
- _ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-`
- for i in `seq 0 $(expr ${#depends[@]} - 1)`; do
- if [ ${depends[$i]} == $1 ]; then
- depends[$i]="$1=${_ver}"
- fi
- done
-}
-
package() {
- _update_deps ghc
cd ${_hkgname}-${pkgver}
More information about the arch-commits
mailing list