summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornikp1232018-05-11 22:32:57 +0200
committernikp1232018-05-11 22:32:57 +0200
commit15d79a5551f71176b34f799e0eb984ed9fc5ed4e (patch)
tree86a9d0062ebde2dab31570bb50687c17c9271074
parent0d7cf52218030305193611904da3e420bcc32e00 (diff)
downloadaur-15d79a5551f71176b34f799e0eb984ed9fc5ed4e.tar.gz
Added pkgver function
-rw-r--r--.latest.swpbin0 -> 16384 bytes
-rwxr-xr-xPKGBUILD4
-rw-r--r--latest454
3 files changed, 458 insertions, 0 deletions
diff --git a/.latest.swp b/.latest.swp
new file mode 100644
index 00000000000..20941b76e23
--- /dev/null
+++ b/.latest.swp
Binary files differ
diff --git a/PKGBUILD b/PKGBUILD
index 920d0fd83de..fd6cbd8f4bd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,10 @@ source=('https://api.github.com/repos/tahnik/devrantron/releases/latest')
provides=($_pkgname)
sha1sums=('SKIP')
+pkgver() {
+ cat latest|jq --raw-output '.tag_name'|sed 's/v//g'
+}
+
build() {
if [ ! -f package.deb ]
then
diff --git a/latest b/latest
new file mode 100644
index 00000000000..5ff14b6db85
--- /dev/null
+++ b/latest
@@ -0,0 +1,454 @@
+{
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/10773372",
+ "assets_url": "https://api.github.com/repos/tahnik/devRantron/releases/10773372/assets",
+ "upload_url": "https://uploads.github.com/repos/tahnik/devRantron/releases/10773372/assets{?name,label}",
+ "html_url": "https://github.com/tahnik/devRantron/releases/tag/v1.5.3",
+ "id": 10773372,
+ "tag_name": "v1.5.3",
+ "target_commitish": "master",
+ "name": "Bugfixes",
+ "draft": false,
+ "author": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "prerelease": false,
+ "created_at": "2018-04-29T15:32:51Z",
+ "published_at": "2018-04-29T15:52:48Z",
+ "assets": [
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015369",
+ "id": 7015369,
+ "name": "devrantron-1.5.3-mac.zip",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/zip",
+ "state": "uploaded",
+ "size": 51968051,
+ "download_count": 1,
+ "created_at": "2018-04-29T15:37:38Z",
+ "updated_at": "2018-04-29T15:37:40Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devrantron-1.5.3-mac.zip"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015345",
+ "id": 7015345,
+ "name": "devrantron-1.5.3-x86_64.AppImage",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 56824000,
+ "download_count": 21,
+ "created_at": "2018-04-29T15:36:05Z",
+ "updated_at": "2018-04-29T15:36:07Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devrantron-1.5.3-x86_64.AppImage"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015361",
+ "id": 7015361,
+ "name": "devRantron-1.5.3.dmg",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 54149922,
+ "download_count": 31,
+ "created_at": "2018-04-29T15:36:35Z",
+ "updated_at": "2018-04-29T15:36:38Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devRantron-1.5.3.dmg"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015360",
+ "id": 7015360,
+ "name": "devRantron-1.5.3.dmg.blockmap",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 59070,
+ "download_count": 0,
+ "created_at": "2018-04-29T15:36:35Z",
+ "updated_at": "2018-04-29T15:36:35Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devRantron-1.5.3.dmg.blockmap"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015384",
+ "id": 7015384,
+ "name": "devrantron-1.5.3.exe",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 37787965,
+ "download_count": 2,
+ "created_at": "2018-04-29T15:46:37Z",
+ "updated_at": "2018-04-29T15:47:05Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devrantron-1.5.3.exe"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015385",
+ "id": 7015385,
+ "name": "devrantron-setup-1.5.3.exe",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 37938068,
+ "download_count": 264,
+ "created_at": "2018-04-29T15:46:38Z",
+ "updated_at": "2018-04-29T15:47:10Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devrantron-setup-1.5.3.exe"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015386",
+ "id": 7015386,
+ "name": "devrantron-setup-1.5.3.exe.blockmap",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 40528,
+ "download_count": 10,
+ "created_at": "2018-04-29T15:46:38Z",
+ "updated_at": "2018-04-29T15:46:39Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devrantron-setup-1.5.3.exe.blockmap"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015370",
+ "id": 7015370,
+ "name": "devrantron_1.5.3_amd64.deb",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 39002588,
+ "download_count": 18,
+ "created_at": "2018-04-29T15:37:38Z",
+ "updated_at": "2018-04-29T15:37:39Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devrantron_1.5.3_amd64.deb"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015359",
+ "id": 7015359,
+ "name": "devrantron_1.5.3_amd64.snap",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/octet-stream",
+ "state": "uploaded",
+ "size": 110985216,
+ "download_count": 1,
+ "created_at": "2018-04-29T15:36:30Z",
+ "updated_at": "2018-04-29T15:36:34Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/devrantron_1.5.3_amd64.snap"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015372",
+ "id": 7015372,
+ "name": "latest-linux.yml",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "text/yaml",
+ "state": "uploaded",
+ "size": 384,
+ "download_count": 13,
+ "created_at": "2018-04-29T15:37:40Z",
+ "updated_at": "2018-04-29T15:37:40Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/latest-linux.yml"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015371",
+ "id": 7015371,
+ "name": "latest-mac.json",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "application/json",
+ "state": "uploaded",
+ "size": 169,
+ "download_count": 0,
+ "created_at": "2018-04-29T15:37:38Z",
+ "updated_at": "2018-04-29T15:37:38Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/latest-mac.json"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015373",
+ "id": 7015373,
+ "name": "latest-mac.yml",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "text/yaml",
+ "state": "uploaded",
+ "size": 475,
+ "download_count": 91,
+ "created_at": "2018-04-29T15:37:40Z",
+ "updated_at": "2018-04-29T15:37:41Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/latest-mac.yml"
+ },
+ {
+ "url": "https://api.github.com/repos/tahnik/devRantron/releases/assets/7015393",
+ "id": 7015393,
+ "name": "latest.yml",
+ "label": "",
+ "uploader": {
+ "login": "tahnik",
+ "id": 9964210,
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9964210?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/tahnik",
+ "html_url": "https://github.com/tahnik",
+ "followers_url": "https://api.github.com/users/tahnik/followers",
+ "following_url": "https://api.github.com/users/tahnik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/tahnik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/tahnik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/tahnik/subscriptions",
+ "organizations_url": "https://api.github.com/users/tahnik/orgs",
+ "repos_url": "https://api.github.com/users/tahnik/repos",
+ "events_url": "https://api.github.com/users/tahnik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/tahnik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "content_type": "text/yaml",
+ "state": "uploaded",
+ "size": 419,
+ "download_count": 463,
+ "created_at": "2018-04-29T15:47:10Z",
+ "updated_at": "2018-04-29T15:47:11Z",
+ "browser_download_url": "https://github.com/tahnik/devRantron/releases/download/v1.5.3/latest.yml"
+ }
+ ],
+ "tarball_url": "https://api.github.com/repos/tahnik/devRantron/tarball/v1.5.3",
+ "zipball_url": "https://api.github.com/repos/tahnik/devRantron/zipball/v1.5.3",
+ "body": ""
+}