Add debug/!strip and set cmake build to Upstream

This commit is contained in:
Drew DeVault 2016-02-18 07:56:32 -05:00
parent d6e021e134
commit a5361b9f64
2 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
# Sun Dec 27 16:08:19 UTC 2015
# Thu Feb 18 12:56:28 UTC 2016
pkgbase = sway-git
pkgdesc = i3 compatible window manager for Wayland
pkgver = r1138.82aca85
pkgver = r1302.016a774
pkgrel = 1
url = https://github.com/SirCmpwn/sway
arch = i686
@ -24,6 +24,8 @@ pkgbase = sway-git
optdepends = imagemagick: For taking screenshots.
optdepends = ffmpeg: For recording screencasts.
optdepends = i3status: To display system information with a bar.
options = debug
options = !strip
source = sway::git+https://github.com/SirCmpwn/sway.git
sha1sums = SKIP

View File

@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sway-git
_pkgname=sway
pkgver=r1138.82aca85
pkgver=r1302.016a774
pkgrel=1
license=('MIT')
pkgdesc='i3 compatible window manager for Wayland'
@ -23,6 +23,7 @@ arch=("i686" "x86_64")
url='https://github.com/SirCmpwn/sway'
source=("${pkgname%-*}::git+https://github.com/SirCmpwn/sway.git")
sha1sums=('SKIP')
options=('debug' '!strip')
pkgver() {
cd "${srcdir}/${_pkgname}"
@ -32,7 +33,7 @@ pkgver() {
build() {
cd "${srcdir}/${_pkgname}"
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_PREFIX=/usr
cmake . -DCMAKE_BUILD_TYPE=Upstream -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_PREFIX=/usr
make
}