diff options
author | atdi4ever | 2015-08-26 21:53:07 -0700 |
---|---|---|
committer | atdi4ever | 2015-08-26 21:53:07 -0700 |
commit | 6219ce2e9a1a440f3a052de305aa2d415b6de390 (patch) | |
tree | 40b59e24dce468cedd917199cd577fc69b5eb1c9 | |
download | aur-6219ce2e9a1a440f3a052de305aa2d415b6de390.tar.gz |
Initial Import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d3a683eadc1d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = nudoku-git + pkgdesc = Sudoku for the terminal + pkgver = 0.2.4 + pkgrel = 1 + url = https://jubalh.github.io/nudoku/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + depends = ncurses + provides = nudoku + conflicts = nudoku + source = git+https://github.com/jubalh/nudoku.git + sha256sums = SKIP + +pkgname = nudoku-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c81455fe4279 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Charlie Grado + +pkgname=nudoku-git +_gitname=nudoku +pkgver=0.2.4 +pkgrel=1 +pkgdesc="Sudoku for the terminal" +arch=('i686' 'x86_64') +url="https://jubalh.github.io/nudoku/" +license=('GPL3') +depends=('ncurses') +makedepends=('git') +provides=('nudoku') +conflicts=('nudoku') +source=("git+https://github.com/jubalh/$_gitname.git") +sha256sums=('SKIP') + +pkgver() { + cd "$_gitname" + local version=$(git describe --tags) + local version=${version/v/} + local version=${version//-/.} + echo $version +} + +build() { + cd "$_gitname" + autoreconf -i + ./configure --prefix=/usr + make +} + +package() { + cd "$_gitname" + make install DESTDIR="$pkgdir" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |