blob: 3d12bdcc8c73e4898a9c54bfc65843c82cb44023 (
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
30
31
|
# Contributor: Alessio Bianchi <venator85 at gmail dot com>
# Maintainer: Eric Anderson <ejona86@gmail.com>
pkgname=pkgdistcache
pkgver=0.4.6
pkgrel=2
pkgdesc='A distributed local-network cache for pacman packages'
arch=('any')
url='http://venator.ath.cx/dw/doku.php?id=linux:pkgdistcache'
license=('GPL')
depends=('avahi' 'python-dbus' 'dbus-glib' 'python-gobject' 'curl' 'python-requests' 'python-xdg')
install="${pkgname}.install"
source=('pkgdistcache-client'
'pkgdistcache-daemon'
'pkgdistcache.conf'
'pkgdistcached.service')
sha256sums=('4141d8d07a7c67ebd0dba24ca8aa2a97bcf93a2915b7afbebbd85728bbbc356c'
'c03074bdcc7456ae1dbe4cf32a6fb8854a5fbb6445bfd16208e3fb85c9b91d5e'
'd77ac418aa651bc622cd91204d6907554c6cdb4bb989e484cc54da32342faa51'
'756c0bd1139e296da88937a89ab19e0b5d6c0d5d0f719034d4029b1fe1ea09e9')
package() {
install -d "${pkgdir}/usr/bin/"
install -m755 "${srcdir}/pkgdistcache-client" "${pkgdir}/usr/bin/"
install -m755 "${srcdir}/pkgdistcache-daemon" "${pkgdir}/usr/bin/"
install -d "${pkgdir}/etc/"
install -m644 "${srcdir}/pkgdistcache.conf" "${pkgdir}/etc/"
install -d "${pkgdir}/usr/lib/systemd/system/"
install -m644 "${srcdir}/pkgdistcached.service" \
"${pkgdir}/usr/lib/systemd/system/"
}
|