diff --git a/srcpkgs/gtk-theme-config/patches/no_cc_for_vala.patch b/srcpkgs/gtk-theme-config/patches/no_cc_for_vala.patch new file mode 100644 index 0000000000..e9ee405996 --- /dev/null +++ b/srcpkgs/gtk-theme-config/patches/no_cc_for_vala.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2015-07-25 21:11:40.397311183 +0200 ++++ Makefile 2015-07-25 21:11:59.561311865 +0200 +@@ -1,5 +1,5 @@ +-CC=valac +-CFLAGS=--pkg gtk+-3.0 +-LDFLAGS=-X -lm ++VALAC=valac ++VALACFLAGS=--pkg gtk+-3.0 ++VALALDFLAGS=-X -lm + SOURCE=gtk-theme-config.vala + BINARY=gtk-theme-config +@@ -14,7 +14,7 @@ INSTALL_DATA=$(INSTALL) -Dpm 0644 + all: $(BINARY) + + $(BINARY): $(SOURCE) +- $(CC) $(CFLAGS) $(LDFLAGS) $(SOURCE) -o $(BINARY) ++ $(VALAC) $(VALACFLAGS) $(VALALDFLAGS) $(SOURCE) -o $(BINARY) + + clean: + $(CLEAN) $(BINARY) diff --git a/srcpkgs/gtk-theme-config/template b/srcpkgs/gtk-theme-config/template index 2251514062..88cf8cebef 100644 --- a/srcpkgs/gtk-theme-config/template +++ b/srcpkgs/gtk-theme-config/template @@ -1,23 +1,15 @@ # Template file for 'gtk-theme-config' pkgname=gtk-theme-config -version=20140605 +version=1.0 +reverts=20140605_1 revision=1 build_style=gnu-makefile -hostmakedepends="pkg-config git" +hostmakedepends="pkg-config vala-devel" makedepends="glib-devel vala-devel gtk+3-devel hicolor-icon-theme desktop-file-utils" depends="hicolor-icon-theme desktop-file-utils" short_desc="Utility to set GTK Theme Preferences" maintainer="Juan RP " license="GPL-3" homepage="https://github.com/satya164/gtk-theme-config" - -do_fetch() { - local url="git://github.com/satya164/gtk-theme-config.git" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} - -do_build() { - unset CC CFLAGS - make -} +distfiles="$homepage/archive/v$version.tar.gz" +checksum=174aac3ea43966168d120dbd9e0f23d7900d095ee1b0cf32472d59b0fdea8448