summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbe74ac4e5f6966e4a42997898b83cb89f723602 (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
# Contributor: Pierpaolo Valerio <gondsman@techgeek.co.in>
pkgname=dpic
pkgver=20160112
pkgrel=1
pkgdesc="A pic language interpreter"
arch=('x86_64' 'i686')
url="http://www.ece.uwaterloo.ca/~aplevich/dpic/"
license=('BSD')
makedepends=('gcc')
source=('https://ece.uwaterloo.ca/~aplevich/dpic/dpic.tar.gz')
md5sums=('abf984ffdd14bc58acb0dd6633e8d211')

build() {
  mv "$srcdir/$pkgname-2016.01.12" "$srcdir/$pkgname"
  cd "$srcdir/$pkgname"
  make
}

package() {
  mkdir -p $pkgdir/usr/share/man/man1
  mv dpic/doc/dpic.1 $pkgdir/usr/share/man/man1

  cd "$srcdir/$pkgname"
  make DESTDIR=$pkgdir/usr install
}