summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited2020-01-06 13:23:24 -0500
committerSam Whited2020-01-06 13:23:24 -0500
commit484130f2a8b023e49ba345ef6ef755214429d6fd (patch)
tree9b555110a7a4beda58c324b535bed626b84267ef
parent87a429b6db36864b591e65f8833a63c28c6fa62d (diff)
downloadaur-484130f2a8b023e49ba345ef6ef755214429d6fd.tar.gz
Bump to v0.8.0 and lots of package cleanup
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD11
-rw-r--r--jackal.install4
4 files changed, 14 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22947b6ad8d..03d3ed39463 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = jackal
pkgdesc = An XMPP/Jabber server
- pkgver = 0.4.9
+ pkgver = 0.8.0
pkgrel = 1
url = https://github.com/ortuman/jackal
install = jackal.install
@@ -13,12 +13,12 @@ pkgbase = jackal
optdepends = mariadb: MariaDB support
conflicts = jackal-git
backup = etc/jackal/jackal.yml
- source = https://github.com/ortuman/jackal/archive/v0.4.9.tar.gz
+ source = jackal-0.8.0.tar.gz::https://github.com/ortuman/jackal/archive/v0.8.0.tar.gz
source = jackal.service
source = jackal.sysusers
source = jackal.tmpfiles
source = config.patch
- sha256sums = cddde15282c3fb99905e1d2c8c8d6a006840e7a020f7df2ebdacd36541cb963a
+ sha256sums = 1779fe98a272087ebb94486366be2c7e9225a7b463e3e53a4a78f80f8402d3a5
sha256sums = 0a9a9065957e5b0576e5443b29bf0cae81281194664376569a91c51f85e7d7ff
sha256sums = 5fec4f4053ac15cd597bb32ba03c35d85f52438204fd801edf333403ec2c4bf3
sha256sums = 20b7e5a5fee727e72fdbac54182b594a838340c0625036ca9d117e2a9d710045
diff --git a/.gitignore b/.gitignore
index f40aaba6967..13ebca0ec59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
pkg/
src/
+*.tar
*.tar.gz
*.tar.xz
+*.tar.zstd
*.zip
diff --git a/PKGBUILD b/PKGBUILD
index 054119de0cf..bd60aca372e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sam Whited <sam@samwhited.com>
pkgname=jackal
-pkgver=0.4.9
+pkgver=0.8.0
pkgrel=1
pkgdesc='An XMPP/Jabber server'
arch=('x86_64' 'i686')
@@ -13,12 +13,12 @@ optdepends=('postgresql: PostgreSQL support'
'mariadb: MariaDB support')
conflicts=('jackal-git')
backup=('etc/jackal/jackal.yml')
-source=(https://github.com/ortuman/jackal/archive/v${pkgver}.tar.gz
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ortuman/jackal/archive/v${pkgver}.tar.gz"
jackal.service
jackal.sysusers
jackal.tmpfiles
config.patch)
-sha256sums=('cddde15282c3fb99905e1d2c8c8d6a006840e7a020f7df2ebdacd36541cb963a'
+sha256sums=('1779fe98a272087ebb94486366be2c7e9225a7b463e3e53a4a78f80f8402d3a5'
'0a9a9065957e5b0576e5443b29bf0cae81281194664376569a91c51f85e7d7ff'
'5fec4f4053ac15cd597bb32ba03c35d85f52438204fd801edf333403ec2c4bf3'
'20b7e5a5fee727e72fdbac54182b594a838340c0625036ca9d117e2a9d710045'
@@ -33,13 +33,12 @@ prepare() {
build() {
cd jackal-${pkgver}
export GO111MODULE=on
- go build -gcflags "all=-trimpath=${PWD}" \
- -asmflags "all=-trimpath=${PWD}" \
+ go build -trimpath \
+ -buildmode=pie \
-ldflags "-extldflags ${LDFLAGS}"
}
package() {
- install -dm 750 "${pkgdir}/var/lib/jackal/"
install -dm 775 "${pkgdir}/usr/share/doc/jackal/"
install -dm 775 "${pkgdir}/usr/share/jackal/"
diff --git a/jackal.install b/jackal.install
index 927c4676650..2c96c7a4cd8 100644
--- a/jackal.install
+++ b/jackal.install
@@ -8,3 +8,7 @@ found in /usr/share/doc/jackal.
After configuring the database, restart jackal.service.
EOF
}
+
+post_install() {
+ install -dm 750 /var/lib/jackal/
+}