2bwm: replace the git version by a fake release
This commit is contained in:
parent
2984cb9a19
commit
6d6c5670fd
1 changed files with 10 additions and 13 deletions
|
@ -1,26 +1,23 @@
|
|||
# Template file for '2bwm-git'
|
||||
pkgname=2bwm-git
|
||||
version=20141213
|
||||
# Template file for '2bwm'
|
||||
pkgname=2bwm
|
||||
version=0.0.0.20150613
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="git"
|
||||
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
|
||||
short_desc="Fast floating window manager"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="ISC"
|
||||
homepage="https://github.com/venam/2bwm"
|
||||
provides="2bwm-${version}_${revision}"
|
||||
homepage="https://github.com/venam/${pkgname}"
|
||||
distfiles="https://github.com/venam/${pkgname}/archive/master.tar.gz"
|
||||
checksum="ad9858adadcd56951a8f294b30dd06a38f71a17b6d34e3eb9f6b8fbbbcba4fae"
|
||||
replaces="2bwm>=0"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://github.com/venam/2bwm"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
wrksrc="${pkgname}-master"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|-Os ||g' Makefile
|
||||
sed -i 's|^CFLAGS+=|override CFLAGS +=|g' Makefile
|
||||
sed -i 's|^LDFLAGS+=|override LDFLAGS +=|g' Makefile
|
||||
sed -i '/#include <stdlib.h>/i#define _GNU_SOURCE' 2bwm.c
|
||||
CC=$CC
|
||||
}
|
||||
|
||||
do_install() {
|
Loading…
Reference in a new issue