galculator-gtk2: use {pkgname%-*} instead of custom _pkgname
This commit is contained in:
parent
60bf488993
commit
e2b509002e
|
@ -1,10 +1,9 @@
|
|||
# Template file for 'galculator'
|
||||
|
||||
pkgname="galculator-gtk2"
|
||||
_pkgname="galculator"
|
||||
version="2.1.3"
|
||||
revision=1
|
||||
wrksrc="${_pkgname}-${version}"
|
||||
wrksrc="${pkgname%-*}-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-gtk3"
|
||||
depends="gtk-update-icon-cache"
|
||||
|
@ -15,5 +14,5 @@ short_desc="GTK+ based scientific calculator"
|
|||
maintainer="Aaditya Bagga <abchk1234@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="galculator.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/${_pkgname}/${_pkgname}-${version}.tar.bz2"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname%-*}/${pkgname%-*}-${version}.tar.bz2"
|
||||
checksum="91ac62d6d74da910cb79c68f7bf3f4505ac0efe51091150c4ea54fe1c1306235"
|
||||
|
|
Loading…
Reference in New Issue