[arch-commits] Commit in gtk-layer-shell/trunk (PKGBUILD)

Brett Cornwall ainola at archlinux.org
Thu Jul 30 01:08:09 UTC 2020


    Date: Thursday, July 30, 2020 @ 01:08:09
  Author: ainola
Revision: 665862

upgpkg: gtk-layer-shell 0.2.0-1

relicensed to LGPL3

Modified:
  gtk-layer-shell/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-30 00:38:05 UTC (rev 665861)
+++ PKGBUILD	2020-07-30 01:08:09 UTC (rev 665862)
@@ -3,10 +3,10 @@
 
 pkgdesc='Library to create Wayland desktop components using the Layer Shell protocol'
 pkgname=gtk-layer-shell
-pkgver=0.1.0
-pkgrel=2
+pkgver=0.2.0
+pkgrel=1
 arch=(x86_64)
-license=(MIT)
+license=(LGPL3)
 url="https://github.com/wmww/gtk-layer-shell"
 depends=(
     "gtk3"
@@ -19,20 +19,18 @@
     "ninja"
 )
 source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz")
-sha512sums=('813ae86939d4bb300e78197a09fe7e4ccda9e2e6c008b72fa45d0a5be311ade1762af31835d3e7fea00f49a438f7ad37d3e57c84e0a2ebbbf58e807048c072da')
+sha512sums=('4bbff1cd43951919cf9a9dd4854754f8fadfef0850a1da7ec2b286e18cadb1de7644f5ff9bde115f9d1fa8e4a1835a0300d52197fd21425de7d8e895245d9c06')
 
 build() {
-    cd "$pkgname-$pkgver"
     meson --prefix=/usr \
-        --wrap-mode=nofallback \
-        --buildtype=plain \
-        -Ddocs=true \
-        build
+          --wrap-mode=nofallback \
+          --buildtype=plain \
+          -Ddocs=true \
+          "$pkgname-$pkgver" \
+          build
     ninja -C build
 }
 
 package() {
-    cd "$pkgname-$pkgver"
     DESTDIR="$pkgdir" ninja -C build install
-    install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
 }



More information about the arch-commits mailing list