diff options
author | Samuel Walladge | 2016-05-17 17:07:12 +0930 |
---|---|---|
committer | Samuel Walladge | 2016-05-17 17:07:12 +0930 |
commit | 5d326ac1c7cde9fc8e2a17135f94c9138fcd0e4e (patch) | |
tree | 243d23ff37a29c8f4a663eb13e72aa9458c1b0f6 | |
parent | 86449e301e2fdb6c5e8f0b45585cbe768e38b5b0 (diff) | |
download | aur-5d326ac1c7cde9fc8e2a17135f94c9138fcd0e4e.tar.gz |
update to version 2.3.0, modify desktop file to use single exec command (for compatibility)
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 10 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Apr 8 06:27:29 UTC 2016 +# Tue May 17 07:35:44 UTC 2016 pkgbase = tagspaces pkgdesc = TagSpaces is an open source personal data manager. It helps you organize files with tags on every platform. - pkgver = 2.2.1 + pkgver = 2.3.0 pkgrel = 1 url = http://tagspaces.org arch = i686 @@ -11,8 +11,8 @@ pkgbase = tagspaces makedepends = bower makedepends = gendesk depends = electron - source = https://github.com/tagspaces/tagspaces/archive/v2.2.1.tar.gz - sha256sums = 3997522914c6809503147abd200213811eba559cd346a35fc4b3b61b5c02987c + source = tagspaces-2.3.0.tar.gz::https://github.com/tagspaces/tagspaces/archive/v2.3.0.tar.gz + sha256sums = b81ad0896c7c87eda2f924b830af0d657b962cc65c0d7f9d8a9c81d3e477a431 pkgname = tagspaces @@ -1,7 +1,7 @@ # Maintainer: Samuel Walladge <samuel at swalladge dot id dot au> pkgname=tagspaces -pkgver=2.2.1 +pkgver=2.3.0 pkgrel=1 pkgdesc="TagSpaces is an open source personal data manager. It helps you organize files with tags on every platform." arch=("i686" "x86_64") @@ -9,12 +9,12 @@ url="http://tagspaces.org" license=("AGPL") depends=("electron") makedepends=("bower" "gendesk") -sha256sums=('3997522914c6809503147abd200213811eba559cd346a35fc4b3b61b5c02987c') -source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('b81ad0896c7c87eda2f924b830af0d657b962cc65c0d7f9d8a9c81d3e477a431') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz") prepare() { # create desktop file and run script - gendesk -f -n --pkgname ${pkgname} --pkgdesc "${pkgdesc}" --exec="cd /opt/${pkgname}/data/ && electron ." + gendesk -f -n --pkgname ${pkgname} --pkgdesc "${pkgdesc}" --exec="${pkgname}" echo "cd /opt/${pkgname}/data/ && electron ." > ${pkgname} } @@ -31,8 +31,8 @@ package() { cp -R ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/opt/${pkgname} # modify version info for this package - sed -i "s/@@VERSION.@@BUILD.@@BID/${pkgver}-${pkgrel}/g" ${pkgdir}/opt/tagspaces/data/about.html - sed -i "s/@@VERSION.@@BUILD/${pkgver}/g" ${pkgdir}/opt/tagspaces/data/about.html + sed -i "s/@@VERSION.@@BUILD.@@BID/${pkgver}-${pkgrel}/g" ${pkgdir}/opt/${pkgname}/data/about.html + sed -i "s/@@VERSION.@@BUILD/${pkgver}/g" ${pkgdir}/opt/${pkgname}/data/about.html # install desktop file, icon, and run script install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} |