summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuten Ye2015-06-24 14:18:18 +0800
committerGuten Ye2015-06-24 14:18:18 +0800
commit1a8efb91417af0d731a6659c221321ac9b84cdc6 (patch)
tree045035a3296b0f09b5a48315b67625d38f6a7b8d
downloadaur-1a8efb91417af0d731a6659c221321ac9b84cdc6.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD24
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c63362d2f8a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = gutbackup
+ pkgdesc = the simplest rsync wrapper for backup Linux system. PKGBUILD file is located at https://github.com/gutenye/aur/tree/master/gutbackup
+ pkgver = 3.0.1
+ pkgrel = 1
+ url = https://github.com/gutenye/gutbackup
+ arch = any
+ license = MIT
+ depends = rsync
+ source = gutbackup-3.0.1.tar.gz::https://github.com/gutenye/gutbackup/archive/v3.0.1.tar.gz
+ md5sums = 3fa76c7ddca1c274031da8e581a8e000
+
+pkgname = gutbackup
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..194c8765098
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgname="gutbackup"
+pkgver=3.0.1
+pkgrel=1
+pkgdesc="the simplest rsync wrapper for backup Linux system. PKGBUILD file is located at https://github.com/gutenye/aur/tree/master/gutbackup"
+arch=("any")
+url="https://github.com/gutenye/gutbackup"
+license=("MIT")
+depends=("rsync")
+source=(
+ "$pkgname-$pkgver.tar.gz::https://github.com/gutenye/gutbackup/archive/v$pkgver.tar.gz"
+)
+md5sums=('3fa76c7ddca1c274031da8e581a8e000')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/gutbackup"
+ mkdir -p "$pkgdir/usr/lib/systemd/system"
+ cp -r bin libexec "$pkgdir/usr/share/gutbackup"
+ cp misc/*.{service,timer} "$pkgdir/usr/lib/systemd/system"
+ ln -s "/usr/share/gutbackup/bin/gutbackup" "$pkgdir/usr/bin"
+}
+
+# vim:set ts=2 sw=2 et: