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 | |
download | pkgbuilds-6d3b656ee024a60ccd41e07f22439ac516b079bb.tar.xz |
tty-solitaire-git: import pkg
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..25bc140 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 15:00:05 UTC 2015 +pkgbase = tty-solitaire-git + pkgdesc = An ncurses-based Klondike solitaire clone + pkgver = 0.1.0.r4.g7b127c9 + pkgrel = 1 + url = https://github.com/mpereira/tty-solitaire + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + depends = ncurses + source = git+https://github.com/mpereira/tty-solitaire + sha256sums = SKIP + +pkgname = tty-solitaire-git + 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 +} |