2013-08-20 22:54:34 +00:00
|
|
|
# Template file for 'tty-clock-git'
|
|
|
|
pkgname=tty-clock-git
|
|
|
|
version=20130821
|
2013-08-21 07:28:22 +00:00
|
|
|
revision=2
|
2013-08-20 22:54:34 +00:00
|
|
|
makedepends="ncurses-devel"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
short_desc="Analog clock in ncurses"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
2013-08-21 07:28:22 +00:00
|
|
|
do_build() {
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make INSTALLPATH=/usr/bin/ DESTDIR=${DESTDIR} install
|
|
|
|
}
|
|
|
|
|
2013-08-20 22:54:34 +00:00
|
|
|
tty-clock-git_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|