Merge pull request #7193 from cr6git/new-tty-clock
New package: tty-clock
This commit is contained in:
commit
dd2e62b6fd
2 changed files with 21 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
|||
# Template file for 'tty-clock-git'
|
||||
pkgname=tty-clock-git
|
||||
version=20130821
|
||||
revision=3
|
||||
hostmakedepends="git"
|
||||
makedepends="ncurses-devel"
|
||||
short_desc="Analog clock in ncurses"
|
||||
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
||||
license="GPL"
|
||||
homepage="https://github.com/xorg62/tty-clock"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://github.com/xorg62/tty-clock"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin tty-clock
|
||||
vman tty-clock.1
|
||||
}
|
21
srcpkgs/tty-clock/template
Normal file
21
srcpkgs/tty-clock/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'tty-clock'
|
||||
pkgname=tty-clock
|
||||
version=2.3
|
||||
revision=1
|
||||
replaces="tty-clock-git>=0"
|
||||
makedepends="ncurses-devel"
|
||||
short_desc="Digital clock in ncurses"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="https://github.com/xorg62/tty-clock"
|
||||
distfiles="https://github.com/xorg62/tty-clock/archive/v${version}.tar.gz"
|
||||
checksum=343e119858db7d5622a545e15a3bbfde65c107440700b62f9df0926db8f57984
|
||||
|
||||
do_build() {
|
||||
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin tty-clock
|
||||
vman tty-clock.1
|
||||
}
|
Loading…
Reference in a new issue