upgpkg: 1.0-4

ledoian
Alexander Rødseth 6 years ago
parent 125d960c03
commit 462ce9bbaa

@ -1,19 +1,15 @@
# Maintainer: Jerome Leclanche <jerome@leclan.ch> # Maintainer: Jerome Leclanche <jerome@leclan.ch>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=sway pkgname=sway
pkgver=1.0 pkgver=1.0
pkgrel=3 pkgrel=4
pkgdesc="Tiling Wayland compositor and replacement for the i3 window manager" pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
arch=("x86_64") arch=(x86_64)
url="https://swaywm.org/" url='https://swaywm.org/'
license=("MIT") license=(MIT)
depends=( depends=(cairo gdk-pixbuf2 json-c pango pcre wlroots)
"cairo" makedepends=(meson ninja scdoc wayland-protocols)
"json-c"
"pango"
"pcre"
"wlroots"
)
makedepends=("meson" "ninja" "gdk-pixbuf2" "scdoc" "wayland-protocols")
optdepends=( optdepends=(
"dmenu: Default for launching applications." "dmenu: Default for launching applications."
"ffmpeg: For recording screencasts." "ffmpeg: For recording screencasts."
@ -29,20 +25,18 @@ source=(
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz" "$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"
"https://github.com/swaywm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig" "https://github.com/swaywm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig"
) )
sha256sums=( sha256sums=('24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56'
"24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56" 'SKIP')
"SKIP"
)
build() { build() {
cd "$pkgname-$pkgver" mkdir -p build
mkdir "build" arch-meson build $pkgname-$pkgver -Dwerror=false
cd "build" ninja -C build
meson -Dwerror=false --prefix /usr ".."
ninja
} }
package() { package() {
DESTDIR="$pkgdir" ninja -C "$pkgname-$pkgver/build" install DESTDIR="$pkgdir" ninja -C build install
install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
} }
# vim: ts=2 sw=2 et

Loading…
Cancel
Save