diff options
author | bobberb | 2019-02-19 21:54:01 -0500 |
---|---|---|
committer | bobberb | 2019-02-19 21:54:01 -0500 |
commit | 3d4891667cbe2fb0a37021d802993debc2316780 (patch) | |
tree | 3386100a21789296a97a16196d11ac085a812b2b | |
download | aur-3d4891667cbe2fb0a37021d802993debc2316780.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b955096b93d8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = minesviiper-git + pkgdesc = solitaire, klondlike, & spider in the terminal + pkgver = r110.04f8849 + pkgrel = 1 + url = https://gir.st/mines.htm + arch = x86_64 + license = GPL + makedepends = git + provides = minesviiper + conflicts = minesviiper + source = git+https://github.com/girst/minesviiper + md5sums = SKIP + +pkgname = minesviiper-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..12dcd17ae377 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: dax <dev@dax.moe> +pkgname=minesviiper-git +pkgver=r110.04f8849 +pkgrel=1 +pkgdesc="solitaire, klondlike, & spider in the terminal" +arch=('x86_64') +url="https://gir.st/mines.htm" +license=('GPL') +depends=() +makedepends=('git') +provides=("minesviiper") +conflicts=("minesviiper") +source=('git+https://github.com/girst/minesviiper') +md5sums=('SKIP') + +pkgver() { + cd minesviiper + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd minesviiper + make +} + +package() { + cd minesviiper + install -D mines "$pkgdir"/usr/bin/minesviiper + install -D -m 0644 LICENSE "$pkgdir"/usr/share/licenses/minesviiper/LICENSE + install -D -m 0644 README.md "$pkgdir"/usr/share/doc/minesviiper/README.md +} |