frankenwm: replace frankenwm-git by frankenwm and fix *FLAGS (#1779)

This commit is contained in:
Ypnose 2015-06-28 11:10:40 +02:00
parent 7f2246a908
commit 6ab5eaf6c1
2 changed files with 28 additions and 23 deletions

View File

@ -1,23 +0,0 @@
# Template file for 'frankenwm-git'
pkgname=frankenwm-git
version=20141213
revision=1
hostmakedepends="pkg-config git"
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-devel"
build_style=gnu-makefile
short_desc="XCB dynamic tiling WM"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/sulami/FrankenWM"
provides="frankenwm-${version}_${revision}"
replaces="frankenwm>=0"
do_fetch() {
local url="git://github.com/sulami/frankenwm"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/frankenwm
}

View File

@ -0,0 +1,28 @@
# Template file for 'frankenwm'
pkgname=frankenwm
_pkgname=FrankenWM
version=1.0.1
revision=1
hostmakedepends="pkg-config"
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-devel"
build_style=gnu-makefile
make_build_args="INCS=-I."
short_desc="XCB dynamic tiling WM"
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
license="MIT"
homepage="https://github.com/sulami/${_pkgname}"
distfiles="https://github.com/sulami/${_pkgname}/archive/${version}.tar.gz"
checksum="074538b165645689016110653eadfd6f363b9ff2dd914f9a0362571049f80544"
replaces="frankenwm-git>=0"
wrksrc="${_pkgname}-${version}"
pre_build() {
sed -i 's|^CPPFLAGS *+=|override CPPFLAGS +=|g' Makefile
sed -i 's|^CFLAGS *+=|override CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS *+=|override LDFLAGS +=|g' Makefile
sed -i 's| -Os||g' Makefile
}
post_install() {
vlicense LICENSE
}