diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3f7e010655c9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = braincurses + pkgdesc = A version of the classic game Mastermind. + pkgver = 1.1.0 + pkgrel = 1 + url = https://github.com/bderrly/braincurses + arch = x86_64 + arch = i686 + license = GPL + depends = ncurses + source = braincurses-1.1.0.tar.gz::https://github.com/bderrly/braincurses/archive/1.1.0.tar.gz + md5sums = 7cdf11bbe53e813c4ef9fd495c282c74 + +pkgname = braincurses + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5d02e01784d8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Brian Derr <brian at derrclan dot com> +pkgname=braincurses +pkgver=1.1.0 +pkgrel=1 +pkgdesc="A version of the classic game Mastermind." +arch=('x86_64' 'i686') +url="https://github.com/bderrly/braincurses" +license=('GPL') +depends=('ncurses') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/bderrly/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=('7cdf11bbe53e813c4ef9fd495c282c74') + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D braincurses "${pkgdir}/usr/bin/${pkgname}" +} |