From d561068b8a9b4281d59e9b6e5054922230d29757 Mon Sep 17 00:00:00 2001 From: kokkiemouse Date: Sun, 31 Jan 2021 22:35:06 +0900 Subject: [PATCH] fixed PKGBUILD Signed-off-by: kokkiemouse --- alter-testing/x86_64/alterlinux-live-tools-git/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/alter-testing/x86_64/alterlinux-live-tools-git/PKGBUILD b/alter-testing/x86_64/alterlinux-live-tools-git/PKGBUILD index aec8a0e..35484bb 100644 --- a/alter-testing/x86_64/alterlinux-live-tools-git/PKGBUILD +++ b/alter-testing/x86_64/alterlinux-live-tools-git/PKGBUILD @@ -21,7 +21,7 @@ _pkgname=( "alterlinux-desktop-file" "alterlinux-live-info" ) -_reponame="alterlinux-live-tools" +_reponame="fascode-live-tools" pkgver=v1.6.r0.g8e25520 pkgrel=1 pkgdesc="Scripts required for live environment" @@ -76,8 +76,11 @@ package_alterlinux-live-tools-git() { # alterlinux-gtk-bookmarks-git package_alterlinux-gtk-bookmarks-git() { pkgdesc="Simple script to automatically generate GTK bookmarks" - install_files - ln -s /usr/bin/fascode-gtk-bookmarks "${pkgdir}/usr/bin/alterlinux-gtk-bookmarks" + + _pkgname="${pkgname%-git}" + cd "${srcdir}/${extracted}/fascode-gtk-bookmarks" + install -m 755 -D "fascode-gtk-bookmarks" "${pkgdir}/usr/bin/fascode-gtk-bookmarks" + ln -s /usr/bin/fascode-gtk-bookmarks "${pkgdir}/usr/bin/alterlinux-gtk-bookmarks" install_license } -- 2.11.0