summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-08-01 17:08:06 +0300
committerCaleb Maclennan2018-08-01 17:10:40 +0300
commit347ddcfad4411c1cd0e0c24407299287191aa4f7 (patch)
treeddaaff7b857bf94f7d77dac58214429d9aee3aff
parent622f60075cc8fc952a4bf0c138dbdd541378e599 (diff)
downloadaur-347ddcfad4411c1cd0e0c24407299287191aa4f7.tar.gz
Update upstream location and cleanup packaging
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD19
2 files changed, 10 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c8a01982596..075c7c0d726c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
# Generated by mksrcinfo v8
-# Thu Apr 20 09:42:49 UTC 2017
+# Wed Aug 1 14:08:15 UTC 2018
pkgbase = stund
pkgdesc = STUN Server and Client
pkgver = 0.97
- pkgrel = 4
- url = http://downloads.sourceforge.net/project/stun/stun/
+ pkgrel = 5
+ url = https://sourceforge.net/projects/stun/
arch = x86_64
- arch = i686
license = GPL2
conflicts = libnice
source = http://downloads.sourceforge.net/project/stun/stun/0.97/stund-0.97.tgz
diff --git a/PKGBUILD b/PKGBUILD
index 5a03c4b6d39c..c435518be5a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,20 @@
pkgname=stund
pkgver=0.97
-pkgrel=4
-pkgdesc="STUN Server and Client"
-url="http://downloads.sourceforge.net/project/stun/stun/"
+pkgrel=5
+pkgdesc='STUN Server and Client'
+url='https://sourceforge.net/projects/stun/'
source=("http://downloads.sourceforge.net/project/stun/stun/${pkgver}/${pkgname}-${pkgver}.tgz"
- "fix_non_i386.patch")
-makedepends=()
-optdepends=()
-conflicts=(libnice)
-arch=('x86_64' 'i686')
+ 'fix_non_i386.patch')
+conflicts=('libnice')
+arch=('x86_64')
license=('GPL2')
sha256sums=('83e1bf9c21399244c5e8ad19789121a3537399d6523a887a5abc6187adcdb1d7'
'8c09a0acc8797bf8060ed84ca4e0d6ca242447ea8cbee6c28904a7056773030d')
prepare() {
cd "${pkgname}"
- if [[ $(uname -m) = x86_64 ]]; then
- patch < ${srcdir}/fix_non_i386.patch
- fi
+ patch < ${srcdir}/fix_non_i386.patch
}
build() {
@@ -30,7 +26,6 @@ build() {
package() {
cd "${pkgname}"
install -Ddm755 ${pkgdir}/usr/bin
-
install -Dm0755 server ${pkgdir}/usr/bin/stund
install -Dm0755 client ${pkgdir}/usr/bin/stunc
}