informant: auto updated to 0.5.0-1
This commit is contained in:
parent
5083379092
commit
d88d5e673b
2 changed files with 62 additions and 0 deletions
30
repo/informant/PKGBUILD
Normal file
30
repo/informant/PKGBUILD
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Bradford Smith <aur@bradfords.me>
|
||||
|
||||
pkgname=informant
|
||||
pkgver=0.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="An Arch Linux News reader and pacman hook"
|
||||
arch=('any')
|
||||
url="https://github.com/bradford-smith94/$pkgname"
|
||||
license=('MIT')
|
||||
install=informant.install
|
||||
makedepends=('python-setuptools')
|
||||
depends=('python' 'python-docopt' 'python-dateutil' 'python-feedparser' 'python-html2text' 'python-cachecontrol' 'python-lockfile')
|
||||
source=("https://github.com/bradford-smith94/$pkgname/archive/v$pkgver.tar.gz")
|
||||
options=(zipman)
|
||||
sha256sums=('d67a7a6edc3d2928cc1c3b0e72e21c2c9ecb75c5467e3ceba6f62f5a36bf9ccf')
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
/usr/bin/python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
export PYTHONHASHSEED=0
|
||||
/usr/bin/python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
install -Dm 0644 $pkgname.hook -T $pkgdir/usr/share/libalpm/hooks/00-$pkgname.hook
|
||||
install -Dm 0644 LICENSE -t $pkgdir/usr/share/licenses/$pkgname/
|
||||
install -Dm 0644 man/$pkgname.1 -t $pkgdir/usr/share/man/man1/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue