summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2015-08-19 03:23:11 -0400
committerChris Severance2015-08-19 03:23:11 -0400
commit5cd0b9afc0d8c77566631a67ee2f75b5b9a90363 (patch)
treecd6c0d14b58cf54fa36ea5a18d0ad45b2c61a797
downloadaur-5cd0b9afc0d8c77566631a67ee2f75b5b9a90363.tar.gz
Initial Import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD45
-rw-r--r--timeshift.install11
3 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..68d993b3387
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = timeshift
+ pkgdesc = A system restore utility for Linux
+ pkgver = 1.7.3~177
+ pkgrel = 1
+ url = https://launchpad.net/~teejee2008/+archive/ubuntu/ppa
+ install = timeshift.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = vala
+ depends = gtk3
+ depends = libsoup
+ depends = desktop-file-utils
+ depends = rsync
+ depends = libgee>=0.18.0
+ depends = json-glib
+ optdepends = gksu: run timeshift from a menu
+ options = !emptydirs
+ source = https://launchpad.net/~teejee2008/+archive/ubuntu/ppa/+files/timeshift_1.7.3~177~ubuntu14.04.1.tar.gz
+ sha256sums = eaf30b0ed47fab1f15c896ed06008f2f15839c66ce891130311fef4bff860b32
+
+pkgname = timeshift
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f900fe7fc30
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
+# Contributor: Jay Garcia <morbidj at gmail dot com>
+# Contributor: Doug Newgard <scimmia22 at outlook dot com>
+# Contributor: Robert Orzanna <orschiro at gmail dot com>
+
+set -u
+
+#_ubver='1.7.2~174~ubuntu14.04.1'; _libgee='libgee06' # This won't build with vala=0.12 or vala=0.28.0
+#_ubver='1.7.3~177~ubuntu15.10.1' # not found
+#_ubver='1.7.3~177~ubuntu15.04.1' # not found
+_ubver='1.7.3~177~ubuntu14.04.1'; _libgee='libgee>=0.18.0'
+pkgname='timeshift'
+pkgver="${_ubver%~*}"
+pkgrel='1'
+_srcdir="${pkgname}_${_ubver}"
+pkgdesc='A system restore utility for Linux'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/~teejee2008/+archive/ubuntu/ppa'
+license=('GPL')
+_arch_depends=(rsync libgee06 json-glib) # from installer/install.sh
+_arch_depends[1]="${_libgee}"
+depends=('gtk3' 'libsoup' 'desktop-file-utils' "${_arch_depends[@]}")
+optdepends=('gksu: run timeshift from a menu')
+makedepends=('vala')
+install="${pkgname}.install"
+options=('!emptydirs')
+source=("${url}/+files/${_srcdir}.tar.gz")
+sha256sums=('eaf30b0ed47fab1f15c896ed06008f2f15839c66ce891130311fef4bff860b32')
+
+build() {
+ set -u
+ cd "${srcdir}/${_srcdir//_/-}"
+
+ make -s
+ set +u
+}
+
+package() {
+ set -u
+ cd "${srcdir}/${_srcdir//_/-}"
+
+ make DESTDIR="${pkgdir}" install
+ set +u
+}
+set +u
diff --git a/timeshift.install b/timeshift.install
new file mode 100644
index 00000000000..e111ef94605
--- /dev/null
+++ b/timeshift.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}