Skip to content
Snippets Groups Projects
Commit 17b04d24 authored by Michał Polański's avatar Michał Polański
Browse files

community/swaybg: use abuild-meson

parent 16656078
No related branches found
No related tags found
2 merge requests!11958community/rclone: upgrade to 1.52.3,!11413community/swaybg: use abuild-meson
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com> # Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=swaybg pkgname=swaybg
pkgver=1.0 pkgver=1.0
pkgrel=2 pkgrel=3
pkgdesc="Wallpaper daemon for Wayland" pkgdesc="Wallpaper daemon for Wayland"
url="https://swaywm.org" url="https://swaywm.org"
arch="all" arch="all"
...@@ -21,16 +21,14 @@ subpackages="$pkgname-doc" ...@@ -21,16 +21,14 @@ subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaybg/archive/$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaybg/archive/$pkgver.tar.gz"
build() { build() {
meson \ abuild-meson \
--prefix=/usr \
--buildtype=plain \
-Dswaybg-version="$pkgver" \ -Dswaybg-version="$pkgver" \
build . output
ninja -C build meson compile -C output
} }
package() { package() {
DESTDIR="$pkgdir" ninja -C build install DESTDIR="$pkgdir" meson install --no-rebuild -C output
} }
sha512sums="67d0e0109b906ece51800729182940374cc59fa07d0866b57cf876d12191fe12e796b84350a849dc85183fa58a3b2d196191e48dcc03dcc3708a980ed4a8cff0 swaybg-1.0.tar.gz" sha512sums="67d0e0109b906ece51800729182940374cc59fa07d0866b57cf876d12191fe12e796b84350a849dc85183fa58a3b2d196191e48dcc03dcc3708a980ed4a8cff0 swaybg-1.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment