summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorminus2018-05-02 22:14:15 +0200
committerminus2018-05-02 22:14:15 +0200
commit1384b328c7786a4ce56db70ffff7dbc4b4717cbc (patch)
tree12a6ef730c76cfd10baeb212fdbc8073a7fc9c3d /PKGBUILD
parentbb172b3db5154557ac6f5447ef888463b9dcac34 (diff)
downloadaur-1384b328c7786a4ce56db70ffff7dbc4b4717cbc.tar.gz
Update to 0.7.14
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e84b3d6a0773..c12bc2d19da4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Thorsten Tasch
# Contributor: Jordi Cerdan <jcerdan@tecob.com>
pkgname=backup-manager
-pkgver=0.7.10
-pkgrel=3
+pkgver=0.7.14
+pkgrel=1
pkgdesc="An easy-to-use backup solution for making archives"
url="http://www.backup-manager.org/"
license=("GPL")
@@ -16,18 +16,13 @@ makedepends=()
conflicts=()
replaces=()
backup=('etc/backup-manager.conf')
-source=(https://github.com/sukria/Backup-Manager/archive/v0.7.10.tar.gz)
-md5sums=('58e8e34dc939953b7c4b2482664eb009')
-
-build() {
- cd "$srcdir/Backup-Manager-$pkgver"
- sed -e 's/=item B<--files-from=>file/=over 4\n\n&/' -i backup-manager-purge
- sed -e 's#/sbin#/bin#g' -i Makefile doc/user-guide.{txt,sgml}
-}
+source=("https://github.com/sukria/Backup-Manager/archive/$pkgver.tar.gz")
+sha256sums=('ff098edc982fad2db6d22c575d93d5ea0180b61701971fd861779d7489844134')
package() {
cd "$srcdir/Backup-Manager-$pkgver"
- make DESTDIR="$pkgdir" install || return 1
+ make PREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/bin VARDIR=/var DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir/etc"
- cp "$pkgdir/usr/share/backup-manager/backup-manager.conf.tpl" "$pkgdir/etc/backup-manager.conf"
+ mv "$pkgdir/usr/share/backup-manager/backup-manager.conf.tpl" "$pkgdir/etc/backup-manager.conf"
+ rmdir "$pkgdir/usr/share/backup-manager"
}