blob: 4af9abbce046316992bb32cffc1d7da13ec6d5f0 (
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.2
pkgrel=1
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')
install="${pkgname}.install"
source=('pkgdistcache-client'
'pkgdistcache-daemon'
'pkgdistcache.conf'
'pkgdistcached.service')
sha256sums=('4b900e1c32162eeb51370998cec336d60e3201185f33258e2ce46dbbcf02f149'
'8f298c9f1548b56373038fe69f8568dc77e17a700476594155359df20eb275a4'
'd77ac418aa651bc622cd91204d6907554c6cdb4bb989e484cc54da32342faa51'
'fdfa58e652230725a232de41c87627ed8c9a4fd9d081c8a3d261ea75cf91a81a')
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/"
}
|