summaryrefslogtreecommitdiff
path: root/bareos/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-26 14:01:32 +0100
committerErich Eckner <git@eckner.net>2019-02-26 14:01:59 +0100
commitf17d145d24a2dff9924c7c4799de564129e13010 (patch)
tree7223965c0787624fe44a62dd1b1d63da89e49989 /bareos/PKGBUILD
parentf5d2507ddfbe9a44284eebba9670c381850598c5 (diff)
downloadarchlinuxewe-f17d145d24a2dff9924c7c4799de564129e13010.tar.xz
checkVersions: kann nun auch bareos
Diffstat (limited to 'bareos/PKGBUILD')
-rw-r--r--bareos/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/bareos/PKGBUILD b/bareos/PKGBUILD
index a5998f83e..3fe6af255 100644
--- a/bareos/PKGBUILD
+++ b/bareos/PKGBUILD
@@ -29,16 +29,16 @@ pkgdesc="Bareos - Backup Archiving REcovery Open Sourced"
url="http://www.bareos.org"
license=('AGPL3')
makedepends=('libmariadbclient' 'postgresql-libs' 'sqlite3' 'python2')
-source=("git+https://github.com/bareos/bareos.git#tag=Release/$pkgver")
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/$pkgbase/$pkgbase/archive/Release/$pkgver.tar.gz")
md5sums=('SKIP')
prepare() {
- cd $pkgbase
+ cd $pkgbase-Release-$pkgver
sed -i "s/python-config/python2-config/g" configure
}
build() {
- cd $pkgbase
+ cd $pkgbase-Release-$pkgver
# Disable cephfs, broken
sed -i 's/have_cephfs=\"yes\"/have_cephfs=\"no\"/' ./configure
@@ -297,8 +297,8 @@ package_bareos-director() {
done
# Currently upstream systemd file does not automatically create run directory
- sed -i '/\[Service\]/a RuntimeDirectory=bareos' $srcdir/bareos/platforms/systemd/bareos-dir.service
- _cp $srcdir/bareos/platforms/systemd/bareos-dir.service $pkgdir/usr/lib/systemd/system/bareos-dir.service
+ sed -i '/\[Service\]/a RuntimeDirectory=bareos' $srcdir/bareos-Release-$pkgver/platforms/systemd/bareos-dir.service
+ _cp $srcdir/bareos-Release-$pkgver/platforms/systemd/bareos-dir.service $pkgdir/usr/lib/systemd/system/bareos-dir.service
}
package_bareos-storage-fifo() {
@@ -355,8 +355,8 @@ package_bareos-filedaemon() {
done
# Currently upstream systemd file does not automatically create run directory
- sed -i '/\[Service\]/a RuntimeDirectory=bareos' $srcdir/bareos/platforms/systemd/bareos-fd.service
- _cp $srcdir/bareos/platforms/systemd/bareos-fd.service $pkgdir/usr/lib/systemd/system/bareos-fd.service
+ sed -i '/\[Service\]/a RuntimeDirectory=bareos' $srcdir/bareos-Release-$pkgver/platforms/systemd/bareos-fd.service
+ _cp $srcdir/bareos-Release-$pkgver/platforms/systemd/bareos-fd.service $pkgdir/usr/lib/systemd/system/bareos-fd.service
}
package_bareos-storage() {
@@ -382,8 +382,8 @@ package_bareos-storage() {
install -d $pkgdir/var/lib/bareos/storage
# Currently upstream systemd file does not automatically create run directory
- sed -i '/\[Service\]/a RuntimeDirectory=bareos' $srcdir/bareos/platforms/systemd/bareos-sd.service
- _cp $srcdir/bareos/platforms/systemd/bareos-sd.service $pkgdir/usr/lib/systemd/system/bareos-sd.service
+ sed -i '/\[Service\]/a RuntimeDirectory=bareos' $srcdir/bareos-Release-$pkgver/platforms/systemd/bareos-sd.service
+ _cp $srcdir/bareos-Release-$pkgver/platforms/systemd/bareos-sd.service $pkgdir/usr/lib/systemd/system/bareos-sd.service
}
package_bareos-storage-tape() {