[arch-commits] Commit in swaybg/repos (2 files)

Brett Cornwall ainola at archlinux.org
Sat May 4 15:34:52 UTC 2019


    Date: Saturday, May 4, 2019 @ 15:34:51
  Author: ainola
Revision: 458935

archrelease: copy trunk to community-staging-x86_64

Added:
  swaybg/repos/community-staging-x86_64/
  swaybg/repos/community-staging-x86_64/PKGBUILD
    (from rev 458934, swaybg/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: swaybg/repos/community-staging-x86_64/PKGBUILD (from rev 458934, swaybg/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-04 15:34:51 UTC (rev 458935)
@@ -0,0 +1,40 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+
+pkgname=swaybg
+pkgver=1.0
+pkgrel=1
+pkgdesc='Wallpaper tool for Wayland compositors'
+arch=('x86_64')
+url='https://github.com/swaywm/swaybg'
+license=('MIT')
+makedepends=(
+    'meson'
+    'ninja'
+    'scdoc'
+    'wayland-protocols'
+)
+depends=(
+    'wayland'
+    'cairo'
+    'gdk-pixbuf2'  # For images other than PNG
+)
+source=(
+    "$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaybg/archive/$pkgver.tar.gz"
+    "$pkgname-$pkgver.tar.gz.sig::https://github.com/swaywm/swaybg/releases/download/1.0/swaybg-1.0.tar.gz.sig"
+)
+sha512sums=('67d0e0109b906ece51800729182940374cc59fa07d0866b57cf876d12191fe12e796b84350a849dc85183fa58a3b2d196191e48dcc03dcc3708a980ed4a8cff0'
+            'SKIP')
+validpgpkeys=("9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A")  # Drew DeVault
+
+build() {
+    meson "$pkgname-$pkgver" build \
+        --prefix /usr \
+        --buildtype=plain
+    ninja -C build
+}
+
+package() {
+    DESTDIR="$pkgdir/" ninja -C build install
+    install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
+    install -Dm644 "$pkgname-$pkgver/README.md" -t "$pkgdir/usr/share/docs/$pkgname"
+}



More information about the arch-commits mailing list