George Hu pushed to branch main at Arch Linux / Packaging / Packages / 
vokoscreen


Commits:
87b1395a by George Hu at 2025-10-13T01:28:04+08:00
Replace git source with tarball

- - - - -
7f62fc84 by George Hu at 2025-10-13T01:33:16+08:00
Format PKGBUILD

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,15 +5,14 @@ pkgbase = vokoscreen
        url = https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
        arch = x86_64
        license = GPL-2.0-or-later
-       makedepends = git
        makedepends = qt6-tools
        depends = gst-plugins-bad
        depends = gst-plugins-base
        depends = gst-plugins-good
        depends = qt6-multimedia
-       source = git+https://github.com/vkohaupt/vokoscreenNG.git#tag=4.6.1
+       source = 
vokoscreen-4.6.1.tar.gz::https://github.com/vkohaupt/vokoscreenNG/archive/4.6.1.tar.gz
        source = vokoscreenNG.appdata.xml
-       sha256sums = 
2901f5db4f874746ff284eb74d274d632fa48cdaf3c3a4eb7fa0428e17a2295c
+       sha256sums = 
7458cdb3dcae3cccd787bdae86592282d6c8cb0dcc080c7fb976b5c59293892f
        sha256sums = 
b40fdfaf0166e1735be00a08bc55091176df758af7aff6585be4122423c73dda
 
 pkgname = vokoscreen


=====================================
PKGBUILD
=====================================
@@ -9,27 +9,30 @@ pkgname=vokoscreen
 _pkgname=vokoscreenNG
 pkgver=4.6.1
 pkgrel=1
-pkgdesc='Easy to use screencast creator'
+pkgdesc="Easy to use screencast creator"
 arch=('x86_64')
-url='https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html'
+url="https://linuxecke.volkoh.de/${pkgname}/${pkgname}.html";
 license=('GPL-2.0-or-later')
 depends=('gst-plugins-bad' 'gst-plugins-base' 'gst-plugins-good' 
'qt6-multimedia')
-makedepends=('git' 'qt6-tools')
-source=("git+https://github.com/vkohaupt/$_pkgname.git#tag=$pkgver";
-        'vokoscreenNG.appdata.xml')
-sha256sums=('2901f5db4f874746ff284eb74d274d632fa48cdaf3c3a4eb7fa0428e17a2295c'
+makedepends=('qt6-tools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vkohaupt/${_pkgname}/archive/${pkgver}.tar.gz";
+       "vokoscreenNG.appdata.xml")
+sha256sums=('7458cdb3dcae3cccd787bdae86592282d6c8cb0dcc080c7fb976b5c59293892f'
             'b40fdfaf0166e1735be00a08bc55091176df758af7aff6585be4122423c73dda')
 
 build() {
-  cd $_pkgname
-  qmake6 PREFIX=/usr src/vokoscreenNG.pro
-  make
+       cd "${_pkgname}-${pkgver}/"
+       qmake6 PREFIX=/usr src/vokoscreenNG.pro
+       make
 }
 
 package() {
-  cd $_pkgname
-  install -Dm755 vokoscreenNG "$pkgdir/usr/bin/vokoscreenNG"
-  install -Dm644 src/applications/vokoscreenNG.png 
"$pkgdir/usr/share/icons/hicolor/256x256/apps/vokoscreenNG.png"
-  install -Dm644 src/applications/vokoscreenNG.desktop 
"$pkgdir/usr/share/applications/vokoscreenNG.desktop"
-  install -Dm644 ../vokoscreenNG.appdata.xml 
"$pkgdir/usr/share/metainfo/vokoscreenNG.appdata.xml"
+       install -Dm644 "${_pkgname}.appdata.xml" -t 
"${pkgdir}/usr/share/metainfo/"
+
+       cd "${_pkgname}-${pkgver}/"
+       install -Dm755 "${_pkgname}" -t "${pkgdir}/usr/bin/"
+
+       cd src/applications
+       install -Dm644 "${_pkgname}.png" -t 
"${pkgdir}/usr/share/icons/hicolor/256x256/apps/"
+       install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vokoscreen/-/compare/6a6b84d0bd6a541ae4310e3cf3fa441ba3fa619f...7f62fc84f0bf98bcfaa4744e9e98c63905ea8515

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vokoscreen/-/compare/6a6b84d0bd6a541ae4310e3cf3fa441ba3fa619f...7f62fc84f0bf98bcfaa4744e9e98c63905ea8515
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to