upgpkg: 1.2_rc2-1

ledoian
Alexander Rødseth 5 years ago
parent 5eb858b55c
commit cbea8b0f31

@ -2,14 +2,14 @@
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org> # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=sway pkgname=sway
pkgver=1.1.1 pkgver=1.2_rc2
pkgrel=3 pkgrel=1
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=(cairo gdk-pixbuf2 json-c pango pcre swaybg ttf-font 'wlroots>=0.6.0') depends=(cairo gdk-pixbuf2 json-c pango pcre swaybg ttf-font 'wlroots>=0.6')
makedepends=(meson ninja scdoc wayland-protocols) makedepends=(git meson ninja scdoc setconf wayland-protocols)
backup=(etc/sway/config) backup=(etc/sway/config)
optdepends=( optdepends=(
'dmenu: Application launcher' 'dmenu: Application launcher'
@ -24,23 +24,23 @@ optdepends=(
'waybar: Highly customizable bar' 'waybar: Highly customizable bar'
'xorg-server-xwayland: X11 support' 'xorg-server-xwayland: X11 support'
) )
validpgpkeys=("9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A") # Drew DeVault source=("git+https://github.com/swaywm/sway#tag=${pkgver/_/-}")
source=( md5sums=('SKIP')
"$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" prepare() {
) # Set the version information to 'Arch Linux' instead of 'makepkg'
sha256sums=('740bf97556c54da83937a255113d715aaa05e05b44d61fbe85e01b53ff1f9922' sed -i "s/branch \\\'@1@\\\'/Arch Linux/g" $pkgname/meson.build
'SKIP') }
build() { build() {
mkdir -p build mkdir -p build
arch-meson build $pkgname-$pkgver -D werror=false -D b_ndebug=true arch-meson build $pkgname -D werror=false -D b_ndebug=true
ninja -C build ninja -C build
} }
package() { package() {
DESTDIR="$pkgdir" ninja -C build install DESTDIR="$pkgdir" ninja -C build install
install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
} }
# vim: ts=2 sw=2 et # vim: ts=2 sw=2 et

Loading…
Cancel
Save