diff options
author | Sebastian Wilzbach | 2015-10-11 15:45:25 +0300 |
---|---|---|
committer | Sebastian Wilzbach | 2015-10-11 15:45:25 +0300 |
commit | b690b6ae4259807dcff355bae3f50342c2a781df (patch) | |
tree | 4cca37ed2199b444b07762b220a9a1c70c4e98e3 | |
download | aur-b690b6ae4259807dcff355bae3f50342c2a781df.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..76ff8fdeb329 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = arch-wiki-markdown-git + pkgdesc = Search and read Arch Wiki offline in your terminal + pkgver = 9031de0 + pkgrel = 1 + url = https://github.com/tsgates/arch-wiki-markdown + arch = any + license = MIT + depends = bash + depends = vim + source = git+https://github.com/tsgates/arch-wiki-markdown + sha1sums = SKIP + +pkgname = arch-wiki-markdown-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e4c8e51a11d3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Sebastian Wilzbach <sebi [at] wilzbach [dot] me> +# Contributor: Taesoo Kim <tsgatesv@gmail.com> +pkgname=arch-wiki-markdown-git +pkgver=9031de0 +pkgrel=1 +pkgdesc="Search and read Arch Wiki offline in your terminal" +arch=('any') +url="https://github.com/tsgates/arch-wiki-markdown" +license=('MIT') +source=("git+https://github.com/tsgates/arch-wiki-markdown") +depends=('bash' 'vim') +sha1sums=('SKIP') + +pkgver() { + cd "$srcdir" + git describe --always +} + +package() { + install -d "$pkgdir/usr/share/doc/${pkgname%-*}" + install -m 0644 $srcdir/${pkgname%-*}/wiki/* "$pkgdir/usr/share/doc/${pkgname%-*}" + install -Dm 0755 $srcdir/${pkgname%-*}/arch-wiki "$pkgdir/usr/bin/arch-wiki" +} |