OSDN Git Service

[add] : Added alterlinux-desktop-file
authorhayao <shun819.mail@gmail.com>
Sat, 26 Dec 2020 12:49:48 +0000 (21:49 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 26 Dec 2020 12:49:48 +0000 (21:49 +0900)
alter-stable/any/alterlinux-desktop-file/.SRCINFO [new file with mode: 0644]
alter-stable/any/alterlinux-desktop-file/PKGBUILD [new file with mode: 0644]

diff --git a/alter-stable/any/alterlinux-desktop-file/.SRCINFO b/alter-stable/any/alterlinux-desktop-file/.SRCINFO
new file mode 100644 (file)
index 0000000..bf73a3f
--- /dev/null
@@ -0,0 +1,13 @@
+pkgbase = alterlinux-gtk-bookmarks
+       pkgdesc = Simple script to automatically generate GTK bookmarks
+       pkgver = 1.1
+       pkgrel = 1
+       url = https://github.com/FascodeNet/alterlinux-live-tools/tree/master/alterlinux-gtk-bookmarks
+       arch = any
+       license = SUSHI-WARE
+       depends = xdg-user-dirs
+       source = https://github.com/FascodeNet/alterlinux-live-tools/archive/v1.1.zip
+       md5sums = SKIP
+
+pkgname = alterlinux-gtk-bookmarks
+
diff --git a/alter-stable/any/alterlinux-desktop-file/PKGBUILD b/alter-stable/any/alterlinux-desktop-file/PKGBUILD
new file mode 100644 (file)
index 0000000..e44e444
--- /dev/null
@@ -0,0 +1,24 @@
+# Maintaoner: Yamada Hayao <hayao@fascode.net>
+
+pkgname="alterlinux-desktop-file"
+_reponame="alterlinux-live-tools"
+pkgver=1.1
+pkgrel=1
+pkgdesc="Simple script to automatically generate GTK bookmarks"
+arch=('any')
+_url="https://github.com/FascodeNet/${_reponame}"
+url="${_url}/tree/master/${pkgname}"
+license=('SUSHI-WARE')
+depends=('xdg-user-dirs')
+source=("${_url}/archive/v${pkgver}.zip")
+md5sums=('SKIP')
+
+
+package() {
+        cd "${srcdir}/${_reponame}-${pkgver}/${pkgname}"
+        install -m 755 -D "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+        install -m 755 -D "calamares.desktop" "${pkgdir}/usr/share/alterlinux/desktop-file/calamares.desktop"
+
+        cd ..
+        install -m 755 -D "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}