sway-hidpi/PKGBUILD

50 lines
1.1 KiB
Bash
Raw Normal View History

2015-08-16 17:17:29 +03:00
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sway-git
_pkgname=sway
2018-04-08 17:44:51 +03:00
pkgver=r2587.22db6013
2015-08-18 04:27:10 +03:00
pkgrel=1
2015-08-16 17:17:29 +03:00
license=('MIT')
pkgdesc='i3 compatible window manager for Wayland'
2015-08-18 04:27:10 +03:00
makedepends=("cmake" "git" "asciidoc")
2015-12-08 14:12:02 +02:00
depends=(
2016-05-02 01:51:51 +03:00
"wlc-git" "xorg-server-xwayland"
2015-12-08 14:12:02 +02:00
"xcb-util-image" "json-c"
"pango" "cairo"
"wayland" "gdk-pixbuf2"
)
2015-08-16 17:51:19 +03:00
optdepends=(
2015-12-27 18:08:23 +02:00
"rxvt-unicode: Default terminal emulator."
"dmenu: Default for launching applications."
"imagemagick: For taking screenshots."
"ffmpeg: For recording screencasts."
"i3status: To display system information with a bar."
2015-08-16 17:51:19 +03:00
)
2015-09-02 16:14:52 +03:00
arch=("i686" "x86_64")
2016-03-24 20:29:46 +02:00
url='http://swaywm.org'
2018-04-08 17:44:51 +03:00
source=("${pkgname%-*}::git+https://github.com/SirCmpwn/sway.git#branch=0.15")
2015-08-16 17:17:29 +03:00
sha1sums=('SKIP')
2016-03-27 17:00:13 +03:00
provides=('sway')
conflicts=('sway')
2016-12-04 16:08:22 +02:00
install=sway-git.install
2015-08-16 17:17:29 +03:00
2015-08-16 17:19:15 +03:00
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
2015-08-16 17:17:29 +03:00
build() {
cd "${srcdir}/${_pkgname}"
2016-03-24 20:29:46 +02:00
cmake . \
-DCMAKE_BUILD_TYPE=Upstream \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_PREFIX=/usr
2015-08-16 17:17:29 +03:00
make
}
package() {
cd "${srcdir}/${_pkgname}"
DESTDIR="$pkgdir/" make install
}