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