thingmenu: use release instead of git

This commit is contained in:
Ypnose 2015-06-13 12:23:11 +02:00
parent 8bf5ed2e99
commit 8ded41310b
2 changed files with 25 additions and 32 deletions

View File

@ -1,32 +0,0 @@
# Template file for 'thingmenu-git'
pkgname=thingmenu-git
version=20140820
revision=1
hostmakedepends="git"
makedepends="libX11-devel libXtst-devel"
build_style=gnu-makefile
short_desc="A simple graphical menu launcher for X11"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://git.r-36.net/thingmenu/"
provides="thingmenu-${version}_${revision}"
replaces="thingmenu>=0"
do_fetch() {
local url="git://git.r-36.net/thingmenu"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
sed -i 's| -I/usr/include||g' config.mk
sed -i 's| -L/usr/lib||g' config.mk
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
}
post_install() {
vbin thingmenu-menu.sh
vinstall LICENSE 644 usr/share/licenses/thingmenu
}

View File

@ -0,0 +1,25 @@
# Template file for 'thingmenu'
pkgname=thingmenu
version=0.8
revision=1
makedepends="libX11-devel libXtst-devel"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
short_desc="A simple graphical menu launcher for X11"
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
license="MIT"
homepage="http://git.r-36.net/${pkgname}/"
distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
checksum="ec47a09e5aa499039230c11a1ab3af46430403745049735a59f22f0a6eac50ea"
replaces="thingmenu>=0"
pre_build() {
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
}
post_install() {
vbin thingmenu-menu.sh
vlicense LICENSE
}