summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlackEagle2013-12-22 21:00:17 +0100
committerBlackEagle2015-07-05 22:58:10 +0200
commit6f6db2b2a31d21bd3f63825b3bc5bed42e3f684e (patch)
treebf540d9acf9f44b9770081819dc7a4ca7271445b
parent669b487dd419008d4425ef4062e4719639e13b50 (diff)
downloadaur-6f6db2b2a31d21bd3f63825b3bc5bed42e3f684e.tar.gz
yadifa :: add .pkgupdate file
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
-rw-r--r--.pkgupdate3
1 files changed, 3 insertions, 0 deletions
diff --git a/.pkgupdate b/.pkgupdate
new file mode 100644
index 000000000000..76bf42be0050
--- /dev/null
+++ b/.pkgupdate
@@ -0,0 +1,3 @@
+nwVersion=$(wget -q -O- http://www.yadifa.eu/download | grep 'releases.*tar.gz' | tail -n1 | sed -e 's,.*yadifa-\([0-9\.\-]*\)\.tar\.gz.*,\1,')
+update_pkgver=${nwVersion%-*}
+update__buildnr=${nwVersion#*-}