summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2017-11-02 16:03:27 -0400
committerChris Severance2017-11-02 16:03:27 -0400
commit11d528ae247d94977ce4b4c5e18ba6bf06ffe134 (patch)
treee4f3e78c55f9857becfe0a42492c8b1cab5bb2d1
parent9834613e1028b27da9fdb0627557e0498497ab6c (diff)
downloadaur-11d528ae247d94977ce4b4c5e18ba6bf06ffe134.tar.gz
Update to 17.10 at github
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD45
2 files changed, 25 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8de55508f53..f58f5679346 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
# Generated by mksrcinfo v8
-# Tue Jun 6 08:02:19 UTC 2017
+# Thu Nov 2 20:03:06 UTC 2017
pkgbase = timeshift
pkgdesc = A system restore utility for Linux
- pkgver = 17.2
- pkgrel = 2
- url = https://code.launchpad.net/~teejee2008/timeshift
+ pkgver = 17.10
+ pkgrel = 1
+ url = https://github.com/teejee2008/timeshift
arch = i686
arch = x86_64
license = GPL
- makedepends = vala0.26
+ makedepends = vala
makedepends = diffutils
makedepends = coreutils
makedepends = vte3
@@ -21,8 +21,8 @@ pkgbase = timeshift
depends = cron
optdepends = gksu: run timeshift from a menu
options = !emptydirs
- source = timeshift_v17.2_r429.tgz::https://bazaar.launchpad.net/~teejee2008/timeshift/trunk/tarball/429
- sha256sums = SKIP
+ source = timeshift_v17.10.tgz::https://github.com/teejee2008/timeshift/archive/v17.10.tar.gz
+ sha256sums = 854788f5e8163db1c9c663a21d02dc35188f9ccf7d83a8b3735eec39b2207e57
pkgname = timeshift
diff --git a/PKGBUILD b/PKGBUILD
index 9287b02dff8..22ef2540a99 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,54 +11,45 @@ set -u
#_ubver='1.7.3~177~ubuntu14.04.1'; _libgee='libgee>=0.18.0'
#_ubver='1.7.5~180~ubuntu14.04.1'; _libgee='libgee>=0.18.0'
#_ubver='1.7.6~184~ubuntu14.04.1'; _libgee='libgee>=0.18.0'
-_ubver='17.2'; _ubrel='429'; _libgee='libgee>=0.18.0'
+#_ubver='17.2'; _ubrel='429'; _libgee='libgee>=0.18.0'
+_ubver='17.10'; _libgee='libgee>=0.18.0'
pkgname='timeshift'
pkgver="${_ubver}"
-pkgrel='2'
+pkgrel='1'
pkgdesc='A system restore utility for Linux'
arch=('i686' 'x86_64')
#url='https://launchpad.net/~teejee2008/+archive/ubuntu/ppa'
-url='https://code.launchpad.net/~teejee2008/timeshift'
+#url='https://code.launchpad.net/~teejee2008/timeshift'
+#url='https://launchpad.net/timeshift'
+url='https://github.com/teejee2008/timeshift'
license=('GPL')
_arch_depends=('rsync' 'libgee06' 'json-glib') # from installer/install.sh
_arch_depends[1]="${_libgee}"
depends=('gtk3' 'libsoup' 'desktop-file-utils' "${_arch_depends[@]}" 'cron')
unset _arch_depends
optdepends=('gksu: run timeshift from a menu')
-makedepends=('vala0.26' 'diffutils' 'coreutils' 'vte3')
+makedepends=('vala' 'diffutils' 'coreutils' 'vte3')
options=('!emptydirs')
-_verwatch=("${url//code/bazaar}/trunk/changes" 'v\([0-9\.]\+\)' 't')
+#_verwatch=("${url//code/bazaar}/trunk/changes" 'v\([0-9\.]\+\)' 't')
#source=("${url}/+files/${_srcdir}.tar.gz")
-_srcdir='~teejee2008/timeshift/trunk'
-source=("timeshift_v${_ubver}_r${_ubrel}.tgz::${url//code/bazaar}/trunk/tarball/${_ubrel}")
-sha256sums=('2d7513c581757f60e051ed3bfe053f98f6be3c162692b577d60c93e3dc5ff048')
-sha256sums[0]='SKIP'
-
-prepare_disable() {
- set -u
- cd "${_srcdir}"
- shopt -s globstar
- sha256sum ** > "${srcdir}/sha256sums.test" 2>/dev/null || :
- shopt -u globstar
- cd "${srcdir}"
- set +u
- diff -q sha256sums.{txt,test}
- rm 'sha256sums.test'
-}
+#_srcdir='~teejee2008/timeshift/trunk'
+#source=("timeshift_v${_ubver}_r${_ubrel}.tgz::${url//code/bazaar}/trunk/tarball/${_ubrel}")
+_github='teejee2008'
+_verwatch=("https://github.com/${_github}/${pkgname}/releases.atom" '\s\+<title>Timeshift v\([0-9\.]\+\)</title>.*' 'f')
+_srcdir="${pkgname}-${pkgver}"
+source=("${pkgname}_v${pkgver}.tgz::https://github.com/${_github}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('854788f5e8163db1c9c663a21d02dc35188f9ccf7d83a8b3735eec39b2207e57')
+#sha256sums[0]='SKIP'
build() {
set -u
- cd "${_srcdir}"
-
- make -s -j1
+ make -C "${_srcdir}" -s -j1
set +u
}
package() {
set -u
- cd "${_srcdir}"
-
- make DESTDIR="${pkgdir}" install
+ make -C "${_srcdir}" DESTDIR="${pkgdir}" install
set +u
}
set +u