[arch-commits] Commit in wayland-protocols/repos/extra-any (PKGBUILD PKGBUILD)
Sébastien Luttringer
seblu at gemini.archlinux.org
Sun Sep 19 00:20:28 UTC 2021
Date: Sunday, September 19, 2021 @ 00:20:28
Author: seblu
Revision: 424357
archrelease: copy trunk to extra-any
Added:
wayland-protocols/repos/extra-any/PKGBUILD
(from rev 424356, wayland-protocols/trunk/PKGBUILD)
Deleted:
wayland-protocols/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 86 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 45 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-19 00:20:23 UTC (rev 424356)
+++ PKGBUILD 2021-09-19 00:20:28 UTC (rev 424357)
@@ -1,41 +0,0 @@
-# Maintainer: Sébastien Luttringer <seblu at seblu.net>
-
-pkgname=wayland-protocols
-pkgver=1.22
-pkgrel=1
-pkgdesc='Specifications of extended Wayland protocols'
-arch=('any')
-url='https://wayland.freedesktop.org/'
-license=('MIT')
-makedepends=('wayland')
-validpgpkeys=('8307C0A224BABDA1BABD0EB9A6EEEC9E0136164A' # Jonas Ådahl
- 'A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # Daniel Stone
-source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('96e7cf03524995a47028236c6d6141c874e693cb80c0be8dabe15455cdd5a5a7'
- 'SKIP')
-
-prepare() {
- cd $pkgname-$pkgver
-}
-
-build() {
- cd $pkgname-$pkgver
-
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd $pkgname-$pkgver
-
- make check
-}
-
-package() {
- cd $pkgname-$pkgver
-
- make DESTDIR="$pkgdir" install
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m 644 COPYING
-}
-
-# vim:set ts=2 sw=2 et:
Copied: wayland-protocols/repos/extra-any/PKGBUILD (from rev 424356, wayland-protocols/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-19 00:20:28 UTC (rev 424357)
@@ -0,0 +1,45 @@
+# Maintainer: Sébastien Luttringer <seblu at seblu.net>
+
+pkgname=wayland-protocols
+pkgver=1.23
+pkgrel=1
+pkgdesc='Specifications of extended Wayland protocols'
+arch=('any')
+url='https://wayland.freedesktop.org/'
+license=('MIT')
+makedepends=('wayland')
+validpgpkeys=('8307C0A224BABDA1BABD0EB9A6EEEC9E0136164A' # Jonas Ådahl
+ 'A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # Daniel Stone
+source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('6c0af1915f96f615927a6270d025bd973ff1c58e521e4ca1fc9abfc914633f76'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local src
+ for src in "${source[@]}"; do
+ src="${src%%::*}"
+ src="${src##*/}"
+ [[ $src = *.patch ]] || continue
+ echo "Applying patch $src..."
+ patch -Np1 < "../$src"
+ done
+}
+
+build() {
+ meson build $pkgname-$pkgver --buildtype=release --prefix=/usr
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ set -x
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m 644 "$pkgname-$pkgver/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list