diff options
-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 +} |