summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlfin Bakhtiar Ilhami2019-04-15 23:20:17 +0700
committerAlfin Bakhtiar Ilhami2019-04-15 23:20:17 +0700
commitf222a14462e919d8239bf2bbd5c94d61d7d7a228 (patch)
tree71c7417722100f7c7754b4ca2d090c613673dd7d
parent54e21328cf47f8d1bb6f7d2bacd15f7862d017a9 (diff)
downloadaur-f222a14462e919d8239bf2bbd5c94d61d7d7a228.tar.gz
add dependencies
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a49dccbfcc..42a39525abb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,9 @@ pkgbase = marktext-bin
url = https://marktext.app
arch = x86_64
license = MIT
+ depends = gtk3
+ depends = libxss
+ depends = nss
provides = marktext
conflicts = marktext
source = marktext-bin-0.14.0.tar.gz::https://github.com/marktext/marktext/releases/download/v0.14.0/marktext-0.14.0-x64.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index ccbd3cad705..ecaab89d7c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ url='https://marktext.app'
license=('MIT')
provides=('marktext')
conflicts=('marktext')
+depends=('gtk3' 'libxss' 'nss')
_source() {
_github=https://github.com/marktext/marktext
@@ -46,14 +47,10 @@ package() {
install -Dm644 $srcdir/$pkgname-${s}x${s}.png \
$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/$_pkgname.png
done
- install -Dm644 $srcdir/$pkgname-512x512.png \
- $pkgdir/usr/share/pixmaps/$_pkgname.png
# Install licenses
- for i in LICENSE LICENSE.electron.txt LICENSES.chromium.html; do
- install -Dm644 $srcdir/$_pkgname-$pkgver-x64/$i \
- $pkgdir/usr/share/licenses/$_pkgname/$i
- done
+ install -Dt $pkgdir/usr/share/licenses/$_pkgname -m644 \
+ $srcdir/$_pkgname-$pkgver-x64/{LICENSE,LICENSE.electron.txt,LICENSES.chromium.html}
}
sha512sums=('8e485ac0c599d149ab4a04666b8ba58f77c5576d2cf70b5e81d2748d69b3c9d79a92ca9b3d3d7ea6d643f7ef12145ccd4c3a8f093436962161fd73c9704e6ae3'