Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
nwg-hello


Commits:
040b4534 by Robin Candau at 2024-08-21T00:08:43+02:00
upgpkg: 0.2.2-4: Install tmpfiles in the filesystem

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = nwg-hello
        pkgdesc = GTK3-based greeter for greetd written in python
        pkgver = 0.2.2
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/nwg-piotr/nwg-hello
        arch = any
        license = MIT
@@ -18,6 +18,8 @@ pkgbase = nwg-hello
        optdepends = sway: Wayland compositor nwg-hello has been made for
        optdepends = hyprland: Wayland compositor nwg-hello has been made for
        source = 
nwg-hello-0.2.2.tar.gz::https://github.com/nwg-piotr/nwg-hello/archive/v0.2.2.tar.gz
+       source = nwg-hello.tmpfiles
        sha256sums = 
fe4ff972dfb1296e68e7648fc7ea9504870092c84aa997a9719c1db595f48924
+       sha256sums = 
ba7c2e1f41fc26ca7c399af942aae01d4d00167f8f124229522e3064de6d8b3f
 
 pkgname = nwg-hello


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=nwg-hello
 pkgver=0.2.2
-pkgrel=3
+pkgrel=4
 pkgdesc="GTK3-based greeter for greetd written in python"
 url="https://github.com/nwg-piotr/nwg-hello";
 arch=('any')
@@ -12,8 +12,10 @@ depends=('greetd' 'python' 'python-gobject' 'gtk3' 
'gtk-layer-shell' 'gnome-them
 makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 optdepends=('sway: Wayland compositor nwg-hello has been made for'
             'hyprland: Wayland compositor nwg-hello has been made for')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('fe4ff972dfb1296e68e7648fc7ea9504870092c84aa997a9719c1db595f48924')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+        "${pkgname}.tmpfiles")
+sha256sums=('fe4ff972dfb1296e68e7648fc7ea9504870092c84aa997a9719c1db595f48924'
+            'ba7c2e1f41fc26ca7c399af942aae01d4d00167f8f124229522e3064de6d8b3f')
 
 build() {
         cd "${pkgname}-${pkgver}"
@@ -32,6 +34,7 @@ package() {
        install -Dm 644 img/* -t "${pkgdir}/usr/share/${pkgname}/"
        install -Dm 644 nwg.jpg "${pkgdir}/usr/share/${pkgname}/nwg.jpg"
        install -Dm 644 cache.json "${pkgdir}/var/cache/${pkgname}/cache.json"
+       install -Dm 644 "../${pkgname}.tmpfiles" 
"${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
        install -Dm 644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
        install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/nwg-hello/-/commit/040b4534b563834ca480b74e03b36ce3f9607216

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/nwg-hello/-/commit/040b4534b563834ca480b74e03b36ce3f9607216
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to