diff options
author | Bradford Smith | 2021-02-06 17:46:51 -0500 |
---|---|---|
committer | Bradford Smith | 2021-02-06 18:29:11 -0500 |
commit | 4810ee78c92f43f18c4ae0510ef15e3a21517148 (patch) | |
tree | be9e70367de1127234e63d885dc736b019daa0b3 /PKGBUILD | |
parent | df5420f921e0bfac0a1221ddf808ce792ee7ac10 (diff) | |
download | aur-4810ee78c92f43f18c4ae0510ef15e3a21517148.tar.gz |
Update version for v0.4.x
This changes the save file location and permissions for the cache
directory. A message was added for upgrading to this from old versions.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,21 +1,27 @@ # Maintainer: Bradford Smith <aur@bradfords.me> pkgname=informant -pkgver=0.3.2 +pkgver=0.4.1 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 -depends=('python' 'python-docopt' 'python-dateutil' 'python-feedparser' 'python-html2text') +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") -sha256sums=('555f06e926bfe0b5b4f7e67f04d5c2e738947b85bf72231d19e6d4e8d6d39620') +sha256sums=('e616dd32d275fccfeaa65fa1890d706075dd5f54a2b03351349adb40b308c8ca') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py build +} package() { cd "$srcdir/$pkgname-$pkgver" - install -Dm 0755 $pkgname -t $pkgdir/usr/bin/ + python setup.py install --root="${pkgdir}" --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/ + gzip $pkgdir/usr/share/man/man1/$pkgname.1 } |