summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index df4395ea540..c8953553b8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,22 +14,22 @@ source=("$pkgname-$pkgver.tar.gz::http://github.com/marktext/marktext/archive/v$
sha512sums=('11249a2b350a973dd4e35c6f1bedf61415c6e49e22f8e344a4e3f942244cfea5d587adfe7f472e26696ab7e91fc5f17337e6de5db32de2ced964dadd5907c003')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- yarn install
- yarn build:dir
+ cd "$srcdir/$pkgname-$pkgver"
+ yarn install
+ yarn build:dir
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
- install -d "$pkgdir/usr/lib"
- cp -r "build/linux-unpacked" "$pkgdir/usr/lib/$pkgname"
+ install -d "$pkgdir/usr/lib"
+ cp -r "build/linux-unpacked" "$pkgdir/usr/lib/$pkgname"
- # Symlink main binary
- install -d "$pkgdir/usr/bin"
- ln -s "/usr/lib/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ # Symlink main binary
+ install -d "$pkgdir/usr/bin"
+ ln -s "/usr/lib/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
- # Install desktop file and icon
- install -D "resources/linux/marktext.desktop" "$pkgdir/usr/share/applications/marktext.desktop"
- install -D "resources/icons/icon.png" "$pkgdir/usr/share/pixmaps/marktext.png"
+ # Install desktop file and icon
+ install -D "resources/linux/marktext.desktop" "$pkgdir/usr/share/applications/marktext.desktop"
+ install -D "resources/icons/icon.png" "$pkgdir/usr/share/pixmaps/marktext.png"
}