diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c089675d0866 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Ian D, Scott <ian@perebruin.com> +pkgname=wikicurses +pkgver=1.0 +pkgrel=1 +pkgdesc="A simple curses interface for accessing Wikipedia." +arch=('any') +url="https://github.com/ids1024/wikicurses" +license=('MIT') +depends=('python' 'python-urwid' 'python-beautifulsoup4' 'python-lxml') +backup=('etc/wikicurses.conf') +source=("https://github.com/ids1024/wikicurses/archive/v${pkgver}.tar.gz") +md5sums=('SKIP') + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/wikicurses-git/LICENSE" +} |