diff options
author | Caleb Maclennan | 2018-08-01 17:08:06 +0300 |
---|---|---|
committer | Caleb Maclennan | 2018-08-01 17:10:40 +0300 |
commit | 347ddcfad4411c1cd0e0c24407299287191aa4f7 (patch) | |
tree | ddaaff7b857bf94f7d77dac58214429d9aee3aff | |
parent | 622f60075cc8fc952a4bf0c138dbdd541378e599 (diff) | |
download | aur-347ddcfad4411c1cd0e0c24407299287191aa4f7.tar.gz |
Update upstream location and cleanup packaging
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 10 insertions, 16 deletions
@@ -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 @@ -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 } |