summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkewl fft2018-01-15 21:09:13 +0000
committerkewl fft2018-01-15 21:09:13 +0000
commit419e86723aef70a382e6b0af0afbcafe681d176b (patch)
tree0444b785e1c6b0d3249c9a74521a899fb2c6b9ee
parent8bd67f39aec18b9f4c3c9ab91f00ed59cd1b0c4f (diff)
downloadaur-419e86723aef70a382e6b0af0afbcafe681d176b.tar.gz
remove uneeded dependancy libnotify
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD11
2 files changed, 3 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9b7cd7dd218..4f355cade76e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,7 +11,6 @@ pkgbase = simplenote-electron-bin
depends = nss
depends = libxtst
depends = gtk2
- depends = libnotify
provides = simplenote
source = https://github.com/Automattic/simplenote-electron/releases/download/v1.1.2/Simplenote-linux-1.1.2.deb
sha256sums = 461ef7e6eea617d6e33818b59a0235d1f09ff6dab57c24810acf261ecbe244ec
diff --git a/PKGBUILD b/PKGBUILD
index 71e000be2f7c..2e061f5f85c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
# Maintainer: Samuel Walladge <samuel at swalladge dot id dot au>
-# Maintainer: Kewl <kewl@alto.eu.org>
+# Maintainer: Kewl <echo kewl@blto.eu.org | tr b a>
pkgname=simplenote-electron-bin
_pkgname=simplenote
@@ -9,20 +9,15 @@ pkgdesc="The simplest way to keep notes."
arch=('x86_64')
url="https://github.com/Automattic/simplenote-electron"
license=('GPL2')
-depends=('gcc-libs' 'gconf' 'alsa-lib' 'nss' 'libxtst' 'gtk2' 'libnotify')
+depends=('gcc-libs' 'gconf' 'alsa-lib' 'nss' 'libxtst' 'gtk2')
optdepends=()
provides=('simplenote')
source=("https://github.com/Automattic/simplenote-electron/releases/download/v${pkgver}/Simplenote-linux-${pkgver}.deb")
sha256sums=('461ef7e6eea617d6e33818b59a0235d1f09ff6dab57c24810acf261ecbe244ec')
-
package() {
- cd ${srcdir}
-
- # extract the data part of the deb package
- tar xzfp data.tar.gz -C ${pkgdir}
+ bsdtar -xv -C "${pkgdir}" -f "${srcdir}/data.tar.gz"
- # simlink executable to /usr/bin
mkdir -p ${pkgdir}/usr/bin/
ln -s /usr/share/${_pkgname}/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
}