diff options
author | Simon Ser | 2023-03-19 12:04:07 +0100 |
---|---|---|
committer | Simon Ser | 2023-03-19 12:04:07 +0100 |
commit | 15e1db70f2e03419a776f5c40025fd0c647823a3 (patch) | |
tree | 4af7b9fcb73f24f0f366d19b4a410067f0987adc | |
parent | 27035ca17a228e738d4ece5f510fd2a013d6e678 (diff) | |
download | aur-soju-git.tar.gz |
Turn on PAM support
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -10,6 +10,7 @@ pkgbase = soju-git makedepends = go makedepends = scdoc depends = sqlite + depends = pam optdepends = postgresql: PostgreSQL support provides = soju conflicts = soju @@ -8,7 +8,7 @@ pkgdesc='A user-friendly IRC bouncer' arch=('x86_64') url='https://soju.im/' license=('AGPL3') -depends=('sqlite') +depends=('sqlite' 'pam') makedepends=('git' 'go' 'scdoc') optdepends=( "postgresql: PostgreSQL support" @@ -43,7 +43,7 @@ build() { export CGO_CFLAGS="${CFLAGS}" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" - export GOFLAGS="-tags=libsqlite3 -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + export GOFLAGS="-tags=libsqlite3,pam -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" make PREFIX=/usr } |