ghc-bin: provides/replaces ghc.

This commit is contained in:
Juan RP 2014-07-11 10:41:26 +02:00
parent a1eadfbc38
commit ce5d2f1153
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ghc-bin' # Template file for 'ghc-bin'
pkgname=ghc-bin pkgname=ghc-bin
version=7.8.2 version=7.8.2
revision=1 revision=2
depends="perl gcc" depends="perl gcc"
short_desc="Glorious Haskell Compiler - precompiled binaries" short_desc="Glorious Haskell Compiler - precompiled binaries"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
esac esac
create_wrksrc=yes create_wrksrc=yes
nostrip=1 nostrip=1
provides="ghc-${version}_${revision}"
replaces="ghc>=0"
do_install() { do_install() {
vmkdir ${DESTDIR} vmkdir ${DESTDIR}