Add debug/!strip and set cmake build to Upstream
This commit is contained in:
parent
d6e021e134
commit
a5361b9f64
6
.SRCINFO
6
.SRCINFO
@ -1,8 +1,8 @@
|
|||||||
# Generated by mksrcinfo v8
|
# Generated by mksrcinfo v8
|
||||||
# Sun Dec 27 16:08:19 UTC 2015
|
# Thu Feb 18 12:56:28 UTC 2016
|
||||||
pkgbase = sway-git
|
pkgbase = sway-git
|
||||||
pkgdesc = i3 compatible window manager for Wayland
|
pkgdesc = i3 compatible window manager for Wayland
|
||||||
pkgver = r1138.82aca85
|
pkgver = r1302.016a774
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/SirCmpwn/sway
|
url = https://github.com/SirCmpwn/sway
|
||||||
arch = i686
|
arch = i686
|
||||||
@ -24,6 +24,8 @@ pkgbase = sway-git
|
|||||||
optdepends = imagemagick: For taking screenshots.
|
optdepends = imagemagick: For taking screenshots.
|
||||||
optdepends = ffmpeg: For recording screencasts.
|
optdepends = ffmpeg: For recording screencasts.
|
||||||
optdepends = i3status: To display system information with a bar.
|
optdepends = i3status: To display system information with a bar.
|
||||||
|
options = debug
|
||||||
|
options = !strip
|
||||||
source = sway::git+https://github.com/SirCmpwn/sway.git
|
source = sway::git+https://github.com/SirCmpwn/sway.git
|
||||||
sha1sums = SKIP
|
sha1sums = SKIP
|
||||||
|
|
||||||
|
5
PKGBUILD
5
PKGBUILD
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||||
pkgname=sway-git
|
pkgname=sway-git
|
||||||
_pkgname=sway
|
_pkgname=sway
|
||||||
pkgver=r1138.82aca85
|
pkgver=r1302.016a774
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
pkgdesc='i3 compatible window manager for Wayland'
|
pkgdesc='i3 compatible window manager for Wayland'
|
||||||
@ -23,6 +23,7 @@ arch=("i686" "x86_64")
|
|||||||
url='https://github.com/SirCmpwn/sway'
|
url='https://github.com/SirCmpwn/sway'
|
||||||
source=("${pkgname%-*}::git+https://github.com/SirCmpwn/sway.git")
|
source=("${pkgname%-*}::git+https://github.com/SirCmpwn/sway.git")
|
||||||
sha1sums=('SKIP')
|
sha1sums=('SKIP')
|
||||||
|
options=('debug' '!strip')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/${_pkgname}"
|
cd "${srcdir}/${_pkgname}"
|
||||||
@ -32,7 +33,7 @@ pkgver() {
|
|||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${_pkgname}"
|
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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user