diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-20 19:17:03 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:44 +0200 |
commit | 6d3b656ee024a60ccd41e07f22439ac516b079bb (patch) | |
tree | 05570998acd247b7b7df5c6a3235d94fba525d7b /PKGBUILD | |
download | pkgbuilds-6d3b656ee024a60ccd41e07f22439ac516b079bb.tar.xz |
tty-solitaire-git: import pkg
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..94d347c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=tty-solitaire-git +pkgver=0.1.0.r4.g7b127c9 +pkgrel=1 + +pkgdesc='An ncurses-based Klondike solitaire clone' +url='https://github.com/mpereira/tty-solitaire' +arch=('i686' 'x86_64') +license=('MIT') + +makedepends=('git') +depends=('ncurses') + +source=('git+https://github.com/mpereira/tty-solitaire') + +sha256sums=('SKIP') + +pkgver() { + cd tty-solitaire + git describe --tags | sed 's/^v//; s/-/.r/; s/-/./' +} + +build() { + cd tty-solitaire + make +} + +package() { + cd tty-solitaire + make DESTDIR="$pkgdir" PREFIX="/usr" install +} |