blob: a9ecef2573732211c8153a122c3320c36f05667d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: xsmile <>
pkgname=chromexup
pkgver=0.5.4
pkgrel=1
pkgdesc='External extension updater for Chromium based browsers'
arch=(any)
url=https://github.com/xsmile/chromexup
license=(MIT)
makedepends=(python-setuptools)
depends=(python-requests)
install="$pkgname.install"
source=("$url/archive/$pkgver.tar.gz")
sha256sums=('4092e0662f24123a2c3ad25603bf7392688966d07ebecc1194fae617d4461331')
package() {
cd $pkgname-$pkgver
# Configuration template
install -Dm644 config.ini.example -t "$pkgdir"/usr/share/$pkgname/
# Systemd scripts
install -Dm644 scripts/systemd/$pkgname.service -t "$pkgdir"/usr/lib/systemd/user/
install -Dm644 scripts/systemd/$pkgname-daily.timer -t "$pkgdir"/usr/lib/systemd/user/
install -Dm644 scripts/systemd/$pkgname-weekly.timer -t "$pkgdir"/usr/lib/systemd/user/
# License
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
python setup.py install --root="$pkgdir" --optimize=1
}
|