summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34edfbd7d447b06e4c43a1a2c8e812ffb6ee548a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer : catskillmarina <catskillmarina @ gmail.com>

pkgname=grdc
pkgver=20031019
pkgrel=1.2
pkgdesc='Great Digital Clock'
arch=('any')
url="ftp://ftp.netbsd.org//pub/pkgsrc/distfiles/grdc-20031019.tar.gz"
license=('unknown')
depends=('ncurses' 'gzip')
source=("ftp://ftp.netbsd.org//pub/pkgsrc/distfiles/$pkgname-$pkgver.tar.gz")
md5sums=('409cdcf13edd6931c42878bd8cc9aaf2')

prepare() {
  cd "$pkgname-$pkgver"
  pwd
}

build(){
  cd "$pkgname-$pkgver"
  cc -lcurses -o grdc grdc.c
  pwd
}
  
package() {
  cd "$pkgname-$pkgver"
  pwd
  install -Dm755 grdc "$pkgdir/usr/bin/grdc"
  install -Dm644 grdc.6 "$pkgdir/usr/share/man/man6/grdc.6"
}