bar-git: simplify by using the gnu-makefile build_style.
This commit is contained in:
parent
ed37c957a8
commit
03e1569c83
|
@ -2,26 +2,24 @@
|
|||
pkgname=bar-git
|
||||
version=20131221
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
makedepends="libxcb-devel"
|
||||
short_desc="A lightweight xcb based bar"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/LemonBoy/bar"
|
||||
|
||||
|
||||
do_fetch() {
|
||||
local url="git://github.com/LemonBoy/bar"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
pre_build() {
|
||||
cp ${FILESDIR}/config.h config.h
|
||||
make CC=$CC INCS="-I." ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=$DESTDIR install
|
||||
post_install() {
|
||||
vinstall palette.pl 755 usr/bin
|
||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||
vinstall README.md 644 usr/share/doc/${pkgname}
|
||||
|
@ -29,6 +27,6 @@ do_install() {
|
|||
|
||||
bar-git_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue