xcmenu: replace the git pkg by a release
This commit is contained in:
parent
6d6c5670fd
commit
17d3b3a07b
2 changed files with 25 additions and 28 deletions
|
@ -1,28 +0,0 @@
|
|||
# Template file for 'xcmenu-git'
|
||||
pkgname=xcmenu-git
|
||||
version=20141222
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="git"
|
||||
makedepends="zlib-devel libxcb-devel"
|
||||
depends="dmenu"
|
||||
short_desc="Lightweight clipboard manager for X"
|
||||
maintainer="Duncaen <mail@duncano.de>"
|
||||
license="WTFPL"
|
||||
homepage="http://github.com/Cloudef/xcmenu"
|
||||
|
||||
provides="xcmenu-${version}_${revision}"
|
||||
replaces="xcmenu>=0"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://github.com/Cloudef/xcmenu"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
pre_build() {
|
||||
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
||||
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
||||
}
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
25
srcpkgs/xcmenu/template
Normal file
25
srcpkgs/xcmenu/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'xcmenu'
|
||||
pkgname=xcmenu
|
||||
version=0.1.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
makedepends="zlib-devel libxcb-devel"
|
||||
depends="dmenu"
|
||||
short_desc="Lightweight clipboard manager for X"
|
||||
maintainer="Duncaen <mail@duncano.de>"
|
||||
license="WTFPL"
|
||||
homepage="http://github.com/Cloudef/${pkgname}"
|
||||
distfiles="https://github.com/Cloudef/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum="149e95ce715c77eaa179b4b8df6c499a4570915a5a094b49a7d914e0073097f1"
|
||||
replaces="xcmenu>=0"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|-Os ||g' config.mk
|
||||
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() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue