Skip to content
Snippets Groups Projects

[AUR] quickgui v1.2.10

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Bastien Traverse

    Updated PKGBUILD and git format-patch for AUR package quickgui version 1.2.10.

    Edited
    PKGBUILD 1.00 KiB
    # Maintainer: Steffen Hansen <steffengrundsoe@gmail.com>
    # Contributor: Bastien "neitsab" Traverse <neitsab@archlinux.org>
    
    _pkgname=quickgui
    pkgname=$_pkgname-bin
    pkgver=1.2.10
    pkgrel=1
    pkgdesc="A Flutter frontend for quickget and quickemu"
    arch=('x86_64')
    url="https://github.com/quickgui/quickgui"
    license=('MIT')
    depends=('quickemu' 'zenity')
    options=('!strip' '!emptydirs')
    provides=("$_pkgname")
    conflicts=("$_pkgname")
    source=("https://github.com/quickemu-project/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}+1-linux.deb"
            "https://github.com/quickemu-project/${_pkgname}/raw/${pkgver}/LICENSE")
    sha256sums=('506313e580e069b7c2daf8594fcaf00a44bc49e5785102f6ac359eaa20c3c193'
                '45c9e65b515449edfbf9b7669147d6da2f4917e2d8c7625597b35aba30f5f646')
    
    package() {
      tar -xf data.tar.zst -C "${pkgdir}"
      install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
      install -d "${pkgdir}/usr/bin/"
      ln -s  "/usr/share/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
    }
    quickgui-bin-1.2.10.patch 3.18 KiB
    From f429757a1feb0bd4c405871db82e1e0194fd7ebf Mon Sep 17 00:00:00 2001
    From: Bastien Traverse <neitsab@esrevart.net>
    Date: Sun, 25 Aug 2024 16:59:03 +0200
    Subject: [PATCH] Update to v1.2.10
    
    * Download custom MIT license added in https://github.com/quickemu-project/quickgui/pull/102
      from upstream repo because they removed it from the deb package
    * Fix package() instructions:
      * install LICENSE
      * create /usr/bin directory and symlink executable there
    ---
     .SRCINFO | 10 ++++++----
     PKGBUILD | 18 ++++++++++++------
     2 files changed, 18 insertions(+), 10 deletions(-)
    
    diff --git a/.SRCINFO b/.SRCINFO
    index 78a7258..15d4d4e 100644
    --- a/.SRCINFO
    +++ b/.SRCINFO
    @@ -1,17 +1,19 @@
     pkgbase = quickgui-bin
     	pkgdesc = A Flutter frontend for quickget and quickemu
    -	pkgver = 1.2.8
    +	pkgver = 1.2.10
     	pkgrel = 1
     	url = https://github.com/quickgui/quickgui
     	arch = x86_64
    -	license = GPL
    +	license = MIT
     	depends = quickemu
     	depends = zenity
     	provides = quickgui
     	conflicts = quickgui
     	options = !strip
     	options = !emptydirs
    -	source = quickgui_1.2.8-1_kinetic1.0_amd64.deb::https://github.com/quickemu-project/quickgui/releases/download/v1.2.8/quickgui_1.2.8-1_kinetic1.0_amd64.deb
    -	sha256sums = 7855e8f21c0ddc30650464584124fad6aee1f9a47f88661ba13723e0925b4809
    +	source = https://github.com/quickemu-project/quickgui/releases/download/1.2.10/quickgui-1.2.10+1-linux.deb
    +	source = https://github.com/quickemu-project/quickgui/raw/1.2.10/LICENSE
    +	sha256sums = 506313e580e069b7c2daf8594fcaf00a44bc49e5785102f6ac359eaa20c3c193
    +	sha256sums = 45c9e65b515449edfbf9b7669147d6da2f4917e2d8c7625597b35aba30f5f646
     
     pkgname = quickgui-bin
    diff --git a/PKGBUILD b/PKGBUILD
    index b62eb7e..9051622 100644
    --- a/PKGBUILD
    +++ b/PKGBUILD
    @@ -1,20 +1,26 @@
     # Maintainer: Steffen Hansen <steffengrundsoe@gmail.com>
    +# Contributor: Bastien "neitsab" Traverse <neitsab@archlinux.org>
    +
     _pkgname=quickgui
     pkgname=$_pkgname-bin
    -pkgver=1.2.8
    +pkgver=1.2.10
     pkgrel=1
     pkgdesc="A Flutter frontend for quickget and quickemu"
     arch=('x86_64')
     url="https://github.com/quickgui/quickgui"
    -license=('GPL')
    +license=('MIT')
     depends=('quickemu' 'zenity')
     options=('!strip' '!emptydirs')
     provides=("$_pkgname")
     conflicts=("$_pkgname")
    -source=("${_pkgname}_$pkgver-1_kinetic1.0_amd64.deb"::"https://github.com/quickemu-project/$_pkgname/releases/download/v$pkgver/${_pkgname}_$pkgver-1_kinetic1.0_amd64.deb")
    -sha256sums=('7855e8f21c0ddc30650464584124fad6aee1f9a47f88661ba13723e0925b4809')
    +source=("https://github.com/quickemu-project/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}+1-linux.deb"
    +        "https://github.com/quickemu-project/${_pkgname}/raw/${pkgver}/LICENSE")
    +sha256sums=('506313e580e069b7c2daf8594fcaf00a44bc49e5785102f6ac359eaa20c3c193'
    +            '45c9e65b515449edfbf9b7669147d6da2f4917e2d8c7625597b35aba30f5f646')
     
     package() {
    -  tar -xf data.tar.zst -C "$pkgdir"
    -  install -D -m644 "${pkgdir}/usr/share/doc/quickgui/copyright" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
    +  tar -xf data.tar.zst -C "${pkgdir}"
    +  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
    +  install -d "${pkgdir}/usr/bin/"
    +  ln -s  "/usr/share/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
     }
    -- 
    2.46.0
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment