diff options
author | Michael Stöcker | 2015-08-23 12:03:14 +0200 |
---|---|---|
committer | Michael Stöcker | 2015-08-23 12:03:14 +0200 |
commit | d50afb78ed7e07d4bd3a35febebdc22f547d2f42 (patch) | |
tree | 244bad9eb55d413fef92b3a414ca868aa7afda57 | |
download | aur-d50afb78ed7e07d4bd3a35febebdc22f547d2f42.tar.gz |
Initial import to aur4
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1c3589047705 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = tagspaces + pkgdesc = TagSpaces is an open source personal data manager. It helps you organize files with tags on every platform. + pkgver = 1.11.0 + pkgrel = 1 + url = http://tagspaces.org + arch = i686 + arch = x86_64 + license = AGPL + makedepends = gendesk + depends = node-webkit + source = https://github.com/uggrock/tagspaces/archive/v1.11.0.tar.gz + sha256sums = 36f4cda13851bfcc72b603882fad4c81e7ef4891fef31ee7c3a991feac409844 + +pkgname = tagspaces + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6b3bd2b82b54 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=tagspaces +pkgver=1.11.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") +url="http://tagspaces.org" +license=("AGPL") +depends=("node-webkit") +makedepends=("gendesk") +sha256sums=("36f4cda13851bfcc72b603882fad4c81e7ef4891fef31ee7c3a991feac409844") +source=("https://github.com/uggrock/tagspaces/archive/v${pkgver}.tar.gz") + +prepare() { + gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec='nw /opt/'${pkgname}'/data/node-webkit/' + echo "nw /opt/${pkgname}/data/node-webkit/" > $pkgname +} + +package() { + msg2 "create path and copy files" + mkdir -p $pkgdir/opt/${pkgname} + cp -R $srcdir/${pkgname}-${pkgver}/* $pkgdir/opt/${pkgname} + 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 + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "$srcdir/${pkgname}-${pkgver}/data/assets/icon.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg" +} |