Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
startup-notification


Commits:
31ad0b23 by Balló György at 2024-05-12T10:19:31+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,11 +5,13 @@ pkgbase = startup-notification
        url = https://www.freedesktop.org/wiki/Software/startup-notification/
        arch = x86_64
        license = LGPL-2.0-or-later
+       makedepends = git
        depends = glibc
        depends = libx11
        depends = libxcb
        depends = xcb-util
-       source = 
https://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz
-       sha256sums = 
3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a
+       source = 
git+https://gitlab.freedesktop.org/xdg/startup-notification.git?signed#tag=STARTUP_NOTIFICATION_0_12
+       validpgpkeys = 5361BD40015B74382739101A611BA9508B78A5C2
+       b2sums = 
669d5d2eec7879a6b8385449c01fdaa66f76c06e7f07df429e8c0f1d5dba2fe6822995fa8798e0f6dc4ccea7645603d706fad701b9222e1e027cebbbc143ead8
 
 pkgname = startup-notification


=====================================
PKGBUILD
=====================================
@@ -10,17 +10,28 @@ arch=('x86_64')
 url='https://www.freedesktop.org/wiki/Software/startup-notification/'
 license=('LGPL-2.0-or-later')
 depends=('glibc' 'libx11' 'libxcb' 'xcb-util')
-source=("https://www.freedesktop.org/software/startup-notification/releases/$pkgname-$pkgver.tar.gz";)
-sha256sums=('3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a')
+makedepends=('git')
+source=("git+https://gitlab.freedesktop.org/xdg/$pkgname.git?signed#tag=STARTUP_NOTIFICATION_${pkgver/./_}";)
+b2sums=('669d5d2eec7879a6b8385449c01fdaa66f76c06e7f07df429e8c0f1d5dba2fe6822995fa8798e0f6dc4ccea7645603d706fad701b9222e1e027cebbbc143ead8')
+validpgpkeys=('5361BD40015B74382739101A611BA9508B78A5C2') # Julien Danjou 
<jul...@danjou.info>
+
+prepare() {
+  cd $pkgname
+
+  # autogen.sh: Honor NOCONFIGURE=1
+  git cherry-pick -n 07237ff25d6171e1b548118442ddba4259a53ba5
+
+  NOCONFIGURE=1 ./autogen.sh
+}
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/startup-notification/-/commit/31ad0b233eb1a76de5f326330f8988b14167d610

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/startup-notification/-/commit/31ad0b233eb1a76de5f326330f8988b14167d610
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to