gtk-theme-config: update to 1.0; fix crossbuild; use http instead of git.

This commit is contained in:
Enno Boland 2015-07-25 21:56:43 +02:00
parent 4dca3b08aa
commit e82fc922bf
2 changed files with 25 additions and 13 deletions

View File

@ -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)

View File

@ -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 <xtraeme@voidlinux.eu>"
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