Commit 7a7f95df authored by Luca Giambonini's avatar Luca Giambonini

removed obsolete packages

[skip-ci]
parent 9d22611e
2010-01-19 Eric Belanger <eric@archlinux.org>
* silly 0.1.0-4
* Rebuilt for libpng 1.4 and libjpeg 8
* Added ChangeLog
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=silly
pkgver=0.1.0
pkgrel=1
pkgdesc="Simple Image Loading LibrarY, a part of the CEGUI project"
arch=('i686' 'x86_64')
url="http://www.cegui.org.uk/wiki/index.php/SILLY"
license=('MIT')
depends=('libjpeg' 'libpng' 'gcc-libs')
options=('!libtool')
source=(http://downloads.sourceforge.net/crayzedsgui/SILLY-${pkgver}.tar.gz)
md5sums=('c3721547fced7792a36ffc9ce6ec23fd')
sha1sums=('ef5c8ed6c5c57d7d792dbb9e02006c3770334869')
build() {
cd "${srcdir}/SILLY-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}
pkgname=('syncthing' 'syncthing-relaysrv')
pkgver=0.14.52
pkgrel=1
url="http://syncthing.net/"
license=('MPLv2')
arch=('x86_64')
screenshot='http://syncthing.net/screenshot.jpg'
depends=('glibc')
makedepends=('git' 'go' 'inetutils')
source=(https://github.com/syncthing/syncthing/releases/download/v${pkgver}/syncthing-source-v${pkgver}.tar.gz{,.asc}
syncthing-relaysrv.sysusers
syncthing-relaysrv.tmpfiles
syncthing-relaysrv.service)
validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release Management
sha256sums=('4954c2b05c60b6de29104d4783193a51164485cfa4a810c5a0696d72a83816c2'
'SKIP'
'6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa'
'f899998985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f'
'7c2fbc9608d81f8080f8a9102b867a52a050b61f426a0c182ccc1cb5815e4981')
prepare() {
mkdir -p "src/github.com/syncthing"
mv "${pkgbase}" "src/github.com/syncthing/${pkgbase}"
sed '/timeout/ s/120s/5m/' -i "src/github.com/syncthing/${pkgbase}/build.go"
}
build() {
export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
go run build.go -no-upgrade -version v${pkgver} build
go run build.go -no-upgrade -version v${pkgver} build strelaysrv
}
check() {
export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
go run build.go -no-upgrade test
}
package_syncthing() {
pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
install=$pkgname.install
cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "etc/linux-systemd/system/${pkgname}-resume.service" \
"${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" \
"${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
install -Dm644 "etc/linux-systemd/user/${pkgname}.service" \
"${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
# license
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
# ufw preset
install -Dm644 etc/firewall-ufw/syncthing \
"$pkgdir/etc/ufw/applications.d/ufw-syncthing"
# man pages
cd "${srcdir}/src/github.com/syncthing/${pkgname}/man"
for file in $(find . -name '*.1' -print); do
install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file
done
for file in $(find . -name '*.5' -print); do
install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file
done
for file in $(find . -name '*.7' -print); do
install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file
done
}
package_syncthing-relaysrv() {
pkgdesc='Relay server for Syncthing'
cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
install -Dm755 strelaysrv "${pkgdir}"/usr/bin/${pkgname}
install -Dm644 "${srcdir}"/${pkgname}.service \
"${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
install -Dm644 "${srcdir}/${pkgname}.tmpfiles" \
"$pkgdir/usr/lib/tmpfiles.d/${pkgname}.conf"
install -Dm644 "${srcdir}/${pkgname}.sysusers" \
"${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
}
[Unit]
Description=Syncthing relay server
After=network.target
[Service]
User=syncthing-relaysrv
Group=syncthing-relaysrv
ExecStart=/usr/bin/syncthing-relaysrv
WorkingDirectory=/var/lib/syncthing-relaysrv
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
u syncthing-relaysrv - "Syncthing relay server"
g syncthing-relaysrv -
d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -
post_upgrade() {
if (( "$(vercmp $2 0.14.14-1)" < 0 )); then
cat << EOF
Syncing symlinks between v0.14.14 and previous versions will not work.
See https://github.com/syncthing/syncthing/releases/tag/v0.14.14 for details.
EOF
fi
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment