New package: sandy-git-20140707
This commit is contained in:
parent
2b39804d4f
commit
c6f41076f4
1 changed files with 28 additions and 0 deletions
28
srcpkgs/sandy-git/template
Normal file
28
srcpkgs/sandy-git/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'sandy-git'
|
||||
pkgname=sandy-git
|
||||
version=20140707
|
||||
revision=1
|
||||
makedepends="ncurses-devel"
|
||||
build_style=gnu-makefile
|
||||
short_desc="A simple ncurses text editor"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="MIT"
|
||||
homepage="http://tools.suckless.org/sandy"
|
||||
provides="sandy-${version}_${revision}"
|
||||
replaces="sandy>=0"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://git.suckless.org/sandy"
|
||||
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
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall LICENSE 644 usr/share/licenses/sandy
|
||||
vinstall README 644 usr/share/doc/sandy
|
||||
}
|
Loading…
Reference in a new issue