diff options
author | Laura Demkowicz-Duffy | 2020-02-13 12:03:18 +0000 |
---|---|---|
committer | Laura Demkowicz-Duffy | 2020-02-13 12:03:18 +0000 |
commit | 59c06ff1613e857e233e921b38b51cff1ab23f74 (patch) | |
tree | 58e34df9212c83e24f75d4d6e83d2faf03a9954c | |
download | aur-59c06ff1613e857e233e921b38b51cff1ab23f74.tar.gz |
Add base package
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5daf0dfbc287 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = pascal-fc + pkgdesc = An implementation of pascal with extra constructs for teaching concurrent programming + pkgver = 1 + pkgrel = 1 + url = https://github.com/danieljabailey/Pascal-FC + arch = x86_64 + license = GPL + makedepends = fpc + depends = fpc + depends = git + source = pascal-fc::git+git://github.com/danieljabailey/Pascal-FC + md5sums = SKIP + +pkgname = pascal-fc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b48e710c25d8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Laura Demkowicz-Duffy + +pkgname=pascal-fc +pkgver=1 +pkgrel=1 +epoch= +pkgdesc="An implementation of pascal with extra constructs for teaching concurrent programming" +arch=('x86_64') +url="https://github.com/danieljabailey/Pascal-FC" +license=('GPL') +depends=('fpc' 'git') +makedepends=('fpc') +source=('pascal-fc::git+git://github.com/danieljabailey/Pascal-FC') +noextract=() +md5sums=('SKIP') + +build() { + cd "$pkgname" + make pfccomp + make pint +} + +package() { + cd "$pkgname" + install -D pfccomp $pkgdir/usr/bin/pfccomp + install -D pint $pkgdir/usr/bin/pint +} |