summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororhun2020-12-02 01:35:48 +0300
committerorhun2020-12-02 01:35:48 +0300
commit7e024664a1f55f84d61ab37af51ca787fc1955de (patch)
tree56372499b8f0228540d4805ec4221b733f254b18
parentd490357351bb5e3a697c56b6f530b3c9b0c61ad0 (diff)
downloadaur-7e024664a1f55f84d61ab37af51ca787fc1955de.tar.gz
upgpkg: emptty 0.4.0-1
upstream release
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 191e8159dc9..0acf7348d41 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = emptty
pkgdesc = Dead simple CLI Display Manager on TTY
- pkgver = 0.3.0
+ pkgver = 0.4.0
pkgrel = 1
url = https://github.com/tvrzna/emptty
arch = x86_64
@@ -13,8 +13,8 @@ pkgbase = emptty
optdepends = util-linux: mcookie required if using xorg-server
optdepends = wayland: alternative to xorg-server
backup = etc/emptty/conf
- source = emptty-0.3.0.tar.gz::https://github.com/tvrzna/emptty/archive/v0.3.0.tar.gz
- sha512sums = 1f9be379a76e95f7965ae3853cd322d73f8c575182850e1886ae21817f6741393db0a2e36ed4995f6a9291cee1c4efa34db08557d81aefc703e7099964dc33bb
+ source = emptty-0.4.0.tar.gz::https://github.com/tvrzna/emptty/archive/v0.4.0.tar.gz
+ sha512sums = 4e6569d6aa9b22630ff3082c8cf05e213465ba133996baa1205904e7193e296f20a4f0e5b94dcfed22141cfb5780ecb0dd785b41f6630e1b07954ceb19f524a1
pkgname = emptty
diff --git a/PKGBUILD b/PKGBUILD
index 250c2d9f374..57e891c8d6c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=emptty
pkgdesc="Dead simple CLI Display Manager on TTY"
-pkgver=0.3.0
+pkgver=0.4.0
pkgrel=1
arch=('x86_64')
url="https://github.com/tvrzna/emptty"
@@ -16,10 +16,15 @@ optdepends=('xorg-server: default display server'
'wayland: alternative to xorg-server')
backup=('etc/emptty/conf')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('1f9be379a76e95f7965ae3853cd322d73f8c575182850e1886ae21817f6741393db0a2e36ed4995f6a9291cee1c4efa34db08557d81aefc703e7099964dc33bb')
+sha512sums=('4e6569d6aa9b22630ff3082c8cf05e213465ba133996baa1205904e7193e296f20a4f0e5b94dcfed22141cfb5780ecb0dd785b41f6630e1b07954ceb19f524a1')
build() {
cd "$pkgname-$pkgver"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
make build
}