diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..90dbdc93dccc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = brainfuck + pkgdesc = A full fledged brainfuck compiler + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/benjamin-james/brainfuck + arch = any + license = GPL3 + depends = glibc + depends = binutils + provides = bfc + source = https://github.com/benjamin-james/brainfuck/archive/0.1.tar.gz + md5sums = 22dd272219ee951739937f1548c4448d + +pkgname = brainfuck + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..834f40d5791f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Benjamin James <benjamin-james@utulsa.edu> + +pkgname=brainfuck +pkgver=0.1 +pkgrel=1 +pkgdesc="A full fledged brainfuck compiler" +arch=('any') +url="https://github.com/benjamin-james/brainfuck" +license=('GPL3') +depends=('glibc' 'binutils') +provides=('bfc') +source=(https://github.com/benjamin-james/${pkgname}/archive/${pkgver}.tar.gz) +md5sums=('22dd272219ee951739937f1548c4448d') + +build() { + cd "${pkgname}-${pkgver}" + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}/" PREFIX="/usr" install +} |