blob: 9774bb7ec277543cf49a0980af03d9ff3ebc3edb (
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
|
# Maintainer: Jonian Guveli <https://github.com/jonian/>
pkgname=faktory-bin
pkgver=1.9.1
pkgrel=1
pkgdesc="High-performance job processing for the polyglot enterprise"
arch=("x86_64")
url="https://github.com/contribsys/faktory"
license=("GPL3")
depends=("redis")
provides=("faktory")
conflicts=("faktory" "faktory-git")
source=("$pkgname-$pkgver.deb::$url/releases/download/v$pkgver/faktory_$pkgver-1_amd64.deb")
sha256sums=('f471b8ed93235e2ea1a794faf92d28795dd92156ce5588dff48023774bd84a52')
prepare() {
bsdtar xf data.tar.gz
}
package() {
mkdir -p "$pkgdir/etc/faktory"
touch "$pkgdir/etc/faktory/password"
echo "root" > "$pkgdir/etc/faktory/password"
mv usr "$pkgdir"
mkdir -p "$pkgdir/usr/lib/systemd/system"
cp -a "$pkgdir/usr/share/faktory/systemd/faktory.service" "$pkgdir/usr/lib/systemd/system/faktory.service"
}
|