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


Commits:
8de64b49 by George Hu at 2025-10-11T19:34:44+08:00
Format PKGBUILD

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -2,7 +2,7 @@ pkgbase = persepolis
        pkgdesc = Download manager written in Python
        pkgver = 5.2.0
        pkgrel = 2
-       url = https://persepolisdm.github.io/
+       url = https://persepolisdm.github.io
        arch = any
        license = GPL-3.0-or-later
        makedepends = meson


=====================================
PKGBUILD
=====================================
@@ -6,23 +6,23 @@
 pkgname=persepolis
 pkgver=5.2.0
 pkgrel=2
-pkgdesc='Download manager written in Python'
+pkgdesc="Download manager written in Python"
 arch=('any')
-url='https://persepolisdm.github.io/'
+url="https://${pkgname}dm.github.io";
 license=('GPL-3.0-or-later')
 depends=('hicolor-icon-theme' 'pyside6' 'python-dasbus' 'python-psutil' 
'python-pysocks'
          'python-requests' 'python-setproctitle' 'python-urllib3' 
'qt6-multimedia' 'qt6-svg')
 makedepends=('meson')
 optdepends=('ffmpeg: Download videos from YouTube'
             'yt-dlp: Download videos from YouTube')
-source=("https://github.com/persepolisdm/persepolis/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+source=("https://github.com/${pkgname}dm/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
 sha256sums=('8d002e369955fd77e5353714185ce3edb98463b7117a26583b72f4db4e51b2c8')
 
 build() {
-  arch-meson build $pkgname-$pkgver
-  meson compile -C build
+       arch-meson build "${pkgname}-${pkgver}"
+       meson compile -C build
 }
 
 package() {
-  meson install -C build --destdir="$pkgdir"
+       meson install -C build --destdir="${pkgdir}"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/persepolis/-/commit/8de64b49ffd4b282025743564c0ba2c2ecabf756

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/persepolis/-/commit/8de64b49ffd4b282025743564c0ba2c2ecabf756
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to