Skip to content

Commit

Permalink
aur updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kmihelich committed Dec 4, 2014
1 parent 42a7175 commit 1985414
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 17 deletions.
4 changes: 2 additions & 2 deletions aur/asterisk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Contributor: Maik Broemme <mbroemme@libmpq.org>

pkgname=asterisk
pkgver=13.0.0
pkgver=13.0.1
pkgrel=1
pkgdesc="A complete PBX solution"
arch=('i686' 'x86_64')
Expand Down Expand Up @@ -125,7 +125,7 @@ source=(http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-$
${pkgname}.logrotated \
${pkgname}.tmpfile)
install=${pkgname}.install
sha256sums=('a343366b0ec57bf04b483addb35e5017d88e7449dedf7b09c812526926b325c4'
sha256sums=('3e5843de00c7534b886b7f2c5bdf671d8a8bf3f49d925a4adbce9660f1fc418d'
'74e0b278d553499f0c648a6e3d55c0dbb11b0c6dc93a85b020a21eafadb83783'
'caa24cfec5c6b4f8cea385269e39557362acad7e2a552994c3bc24080e3bdd4e'
'673c0c55bce8068c297f9cdd389402c2d5d5a25e2cf84732cb071198bd6fa78a')
Expand Down
34 changes: 23 additions & 11 deletions aur/openswan/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Contributor: xjpvictor Huang <ke [AT] xjpvictor [DOT] info>
# Contributor: uuwe
# Maintainer: xjpvictor Huang <ke [AT] xjpvictor [DOT] info>
pkgname=openswan
pkgver=2.6.42
pkgrel=1
pkgrel=2
pkgdesc="Open Source implementation of IPsec for the Linux operating system"
url="http://www.openswan.org"
license=('GPL' 'custom')
Expand All @@ -15,30 +16,41 @@ backup=(etc/ipsec.conf \
source=(http://download.openswan.org/openswan/openswan-$pkgver.tar.gz
openswan.service)

package() {
# Create /etc/rc.d for init script, and license directory
mkdir -p $pkgdir/{etc/rc.d,usr/share/licenses/openswan}

cd $srcdir/openswan-$pkgver
prepare() {
cd $srcdir/${pkgname}-$pkgver

# Change install paths to Arch defaults
sed -i 's|/usr/local|/usr|;s|libexec/ipsec|lib/openswan|;s|)/sbin|)/bin|' Makefile.inc

# Replace invalid init script paths with systemd script path
sed -i 's/^INC_RCDIRS.*/INC_RCDIRS\?\=\/usr\/lib\/systemd\/scripts/' Makefile.inc
}

build() {
cd $srcdir/${pkgname}-$pkgver
make USE_XAUTH=true USE_OBJDIR=true programs || return 1
make DESTDIR=$pkgdir install
}

package() {
cd $srcdir/${pkgname}-$pkgver

# Pre-create init script directory
mkdir -p $pkgdir/usr/lib/systemd/scripts/

make DESTDIR="${pkgdir}" install

# Change permissions in /var
chmod 700 $pkgdir/var/run/pluto

# Copy License
cp LICENSE $pkgdir/usr/share/licenses/openswan
install -Dm644 LICENSE $pkgdir/usr/share/licenses/openswan/LICENSE

# Install init script
install -Dm644 ../openswan.service $pkgdir/usr/lib/systemd/system/openswan.service
mkdir $pkgdir/usr/lib/systemd/scripts/
mv $pkgdir/etc/rc.d/ipsec $pkgdir/usr/lib/systemd/scripts/ipsec

# fix manpages
mv $pkgdir/usr/man $pkgdir/usr/share/

# fix python2
sed -i '1s|python|python2|' $pkgdir/usr/lib/openswan/verify
}
Expand Down
4 changes: 2 additions & 2 deletions aur/pioneers/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: bug <bug2000@gmail.com>
# Contributor: Lone_Wolf <lonewolf@xs4all.nl>
pkgname=pioneers
pkgver=15.2
pkgver=15.3
pkgrel=1
pkgdesc="A clone of the famous Siedler of Catan game"
arch=('i686' 'x86_64')
Expand All @@ -10,7 +10,7 @@ license=('GPL2')
depends=('gtk2')
makedepends=('pkgconfig' 'intltool' 'librsvg')
source=(http://downloads.sourceforge.net/pio/$pkgname-$pkgver.tar.gz)
md5sums=('c3b364e5d8d7e5172bcd2ced897daf06')
md5sums=('00a50e39eb87de293843b33733d40bf9')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
Expand Down
4 changes: 2 additions & 2 deletions aur/sabnzbd/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=sabnzbd
_pkgname=SABnzbd
pkgver=0.7.19
pkgver=0.7.20
pkgrel=1
pkgdesc="A web-interface based binary newsgrabber with NZB file support"
url="http://www.sabnzbd.org"
Expand All @@ -14,7 +14,7 @@ install="${pkgname}.install"
backup=("etc/conf.d/sabnzbd" "opt/${pkgname}/${pkgname}.ini")
source=("http://downloads.sourceforge.net/sabnzbdplus/${_pkgname}-${pkgver}-src.tar.gz"
"${pkgname}" "${pkgname}.desktop" "addnzb.sh" "nzb-2.png" "sab2_64.png" "x-nzb.xml" "${pkgname}.service" "${pkgname}.confd")
md5sums=('97b5decf67229494e584063444e77e94'
md5sums=('7972b2cdad0a3431262611c271ce5747'
'48d60a1c626503c7fef1bc5374390513'
'f9bd5485072714b11f8c30a28024dc4d'
'69b9bcbcf67ff3e7a4cdd9f26e001341'
Expand Down

0 comments on commit 1985414

Please sign in to comment.