summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose17112017-04-20 23:11:32 +0200
committerjose17112017-04-20 23:11:32 +0200
commit8b19e63b980e387dec92f672a37d6609700bef70 (patch)
treedd62aee835db37158a0efcfae4006241741d2b36
parent75fedcc9005f88d7a6a194fda649eee4c79261d8 (diff)
downloadaur-bournal.tar.gz
Fix source
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD9
-rw-r--r--bournal.install11
3 files changed, 23 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cdcac6d89251..091872512710 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,18 @@
+# Generated by mksrcinfo v8
+# Thu Apr 20 21:11:16 UTC 2017
pkgbase = bournal
pkgdesc = bash script that allows you to write, search and edit encrypted journal entrie
pkgver = 1.5
- pkgrel = 2
+ pkgrel = 3
url = http://becauseinter.net/bournal/
+ install = bournal.install
arch = i686
arch = x86_64
license = gpl
depends = gnupg
depends = bash
- source = https://dl.dropboxusercontent.com/u/29095940/oss/bournal-1.5.tar.gz
- md5sums = 691daf0b416a57a5043e9c55b6e2c795
+ source = https://github.com/jose1711/bournal/archive/1.5.tar.gz
+ md5sums = 95152bd789212f0d1431a25fc7085f7f
pkgname = bournal
diff --git a/PKGBUILD b/PKGBUILD
index 600fe13ab890..b9a008c0e719 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,22 @@
pkgname=bournal
pkgver=1.5
-pkgrel=2
+pkgrel=3
pkgdesc="bash script that allows you to write, search and edit encrypted journal entrie"
arch=('i686' 'x86_64')
url="http://becauseinter.net/bournal/"
depends=('gnupg' 'bash')
license=('gpl')
-source=("https://dl.dropboxusercontent.com/u/29095940/oss/${pkgname}-${pkgver}.tar.gz")
-md5sums=('691daf0b416a57a5043e9c55b6e2c795')
+source=("https://github.com/jose1711/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('95152bd789212f0d1431a25fc7085f7f')
+install='bournal.install'
package() {
cd $srcdir/$pkgname-$pkgver
+mkdir -p ${pkgdir}/usr/share/icons/hicolor
install -Dm755 bournal $pkgdir/usr/bin/bournal
install -Dm755 bournal-convert $pkgdir/usr/bin/bournal-convert
install -Dm644 bournal.1.gz $pkgdir/usr/share/man/man1/bournal.1.gz
install -Dm644 bournal.desktop $pkgdir/usr/share/applications/bournal.desktop
+cp -r icons/* ${pkgdir}/usr/share/icons/hicolor
}
diff --git a/bournal.install b/bournal.install
new file mode 100644
index 000000000000..46edb8f41c13
--- /dev/null
+++ b/bournal.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
+ [ -x `which update-desktop-database` ] && update-desktop-database -q
+ /bin/true
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
+ [ -x `which update-desktop-database` ] && update-desktop-database -q
+ /bin/true
+}