galculator-gtk3: update to 2.1.4; move to github.

This commit is contained in:
Steve Prybylski 2015-12-20 19:21:00 -05:00
parent 1c87a01391
commit 7022dd309c
1 changed files with 9 additions and 10 deletions

View File

@ -1,18 +1,17 @@
# Template file for 'galculator' # Template file for 'galculator'
pkgname=galculator-gtk3
pkgname="galculator-gtk3" version=2.1.4
version="2.1.3" revision=1
revision=2
wrksrc="${pkgname%-*}-${version}" wrksrc="${pkgname%-*}-${version}"
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="intltool pkg-config" hostmakedepends="automake flex gettext-devel glib-devel intltool libtool pkg-config"
makedepends="gtk+-devel gtk+3-devel" makedepends="gtk+-devel gtk+3-devel"
short_desc="GTK+ based scientific calculator (GTK+3)" short_desc="GTK+ based scientific calculator (GTK+3)"
maintainer="Aaditya Bagga <abchk1234@gmail.com>" maintainer="Aaditya Bagga <abchk1234@gmail.com>"
license="GPL-2" license="GPL-2"
homepage="galculator.sourceforge.net" homepage="http://galculator.mnim.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname%-*}/${pkgname%-*}-${version}.tar.bz2" distfiles="https://github.com/${pkgname%-*}/${pkgname%-*}/archive/v${version}.tar.gz"
checksum="91ac62d6d74da910cb79c68f7bf3f4505ac0efe51091150c4ea54fe1c1306235" checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
provides="galculator-${version}_${revision}" provides="galculator-${version}_${revision}"
replaces="galculator-gtk2>=0" replaces="galculator-gtk2>=0"
@ -26,10 +25,10 @@ pre_configure() {
do_configure() { do_configure() {
# GTK+2 # GTK+2
cd ${wrksrc}/gtk2 cd ${wrksrc}/gtk2
./configure ${configure_args} --disable-gtk3 ./autogen.sh ${configure_args} --disable-gtk3
# GTK+3 # GTK+3
cd ${wrksrc}/gtk3 cd ${wrksrc}/gtk3
./configure ${configure_args} --enable-gtk3 ./autogen.sh ${configure_args} --enable-gtk3
} }
do_build() { do_build() {