New package: quark-git-20140707
This commit is contained in:
parent
a11ba409df
commit
c5c5459e1e
28
srcpkgs/quark-git/template
Normal file
28
srcpkgs/quark-git/template
Normal file
@ -0,0 +1,28 @@
|
||||
# Template file for 'quark-git'
|
||||
pkgname=quark-git
|
||||
version=20140707
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Simple httpd get daemon"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="MIT"
|
||||
homepage="http://git.suckless.org/quark/"
|
||||
provides="quark-${version}_${revision}"
|
||||
replaces="quark>=0"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://git.suckless.org/quark"
|
||||
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|@strip|@${STRIP}|g' Makefile
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall LICENSE 644 usr/share/licenses/quark
|
||||
vinstall README 644 usr/share/doc/quark
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user