[arch-commits] Commit in obsidian/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Thu Feb 17 15:45:33 UTC 2022


    Date: Thursday, February 17, 2022 @ 15:45:32
  Author: svenstaro
Revision: 1133710

upgpkg: obsidian 0.13.23-2: Moving obsidian from AUR

Modified:
  obsidian/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-17 14:44:12 UTC (rev 1133709)
+++ PKGBUILD	2022-02-17 15:45:32 UTC (rev 1133710)
@@ -4,8 +4,8 @@
 
 pkgname=obsidian
 pkgver=0.13.23
-pkgrel=1
-pkgdesc="Obsidian is a powerful knowledge base that works on top of a local folder of plain text Markdown files"
+pkgrel=2
+pkgdesc="A powerful knowledge base that works on top of a local folder of plain text Markdown files"
 arch=('x86_64')
 url="https://obsidian.md/"
 license=('custom:Commercial')
@@ -17,11 +17,9 @@
     "${pkgname}.desktop"
     "https://github.com/obsidianmd/obsidian-releases/releases/download/v${pkgver}/obsidian-${pkgver}.tar.gz"
 )
-sha256sums=(
-    '5f4699e03045f68932e976727a746342f971eddb77fe5a31d8d2c4084034ed5f'
-    '1153b7f4ce342663f766efa38dc07677aec13f7f619afef1f9b8e2b1f1849fe6'
-    '0c393639b516e40b5866ed0eb010373b9abd7ba143193389615b2e9fb7711db2'
-)
+sha256sums=('5f4699e03045f68932e976727a746342f971eddb77fe5a31d8d2c4084034ed5f'
+            '1153b7f4ce342663f766efa38dc07677aec13f7f619afef1f9b8e2b1f1849fe6'
+            '0c393639b516e40b5866ed0eb010373b9abd7ba143193389615b2e9fb7711db2')
 
 prepare() {
     cd "$srcdir"
@@ -29,7 +27,6 @@
 }
 
 package() {
-    # Go to source directory
     cd "$srcdir"
 
     # Create directories for installation
@@ -38,9 +35,11 @@
 
     # Install executable file
     install -Dm755 "$pkgname" "$pkgdir"/usr/bin/
+
     # Install desktop file
     install -Dm644 "$pkgname".desktop -t "$pkgdir"/usr/share/applications/
     install -Dm644 icon.png "$pkgdir"/usr/share/pixmaps/obsidian.png
+
     # Most of the release package is electron, but we use system's default one
     # So strip away asar packages and put them to /usr/lib/
     cd "${pkgname}-${pkgver}"/resources/
@@ -47,4 +46,3 @@
     find . -type d -exec install -d {,"$pkgdir"/usr/lib/obsidian/}{} \;
     find . -type f -exec install -D {,"$pkgdir"/usr/lib/obsidian/}{} \;
 }
-



More information about the arch-commits mailing list