Commit 4a97c7b9 authored by onny's avatar onny

aur packages bis ethersheet-git

parents
# Contributor: MacCyber <jonas.enge at gmail dot com>
# Contributor: Doug Newgard <scimmia22 at outlook dot com>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=acestream-engine
pkgver=2.1.6
pkgrel=1
_ubuntuver=raring
_ubunturel=4
_watch=('http://repo.acestream.org/ubuntu/dists/raring/main/binary-amd64/Packages')
pkgdesc="ACE Stream engine"
arch=('i686' 'x86_64')
url="http://acestream.org/"
license=('unknown')
depends=('python2-apsw' 'python2-m2crypto' 'libappindicator')
conflicts=('acestream')
if [[ "$CARCH" == "i686" ]]; then
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_i386.deb")
sha512sums=('3f5861022b5a25583f0013a12a27cd3ed799f1d28c5f5843fb7802a408942491a1f04adf7d5a7a99299ff7f50c83dee1b2e8dd4f07227f0b611a4ca27dc176f6')
else
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_amd64.deb")
sha512sums=('011101f0c51c177884070f17de7d3b1c7576d56886e547c54a3de690c5385d7cc0ba3264356e94003825c1df80d913322c1473709fec0b2b817fe1441b9e6a5b')
fi
package() {
cd "$srcdir"
bsdtar -xf data.tar.gz -C "$pkgdir"
}
# Contributor: MacCyber <jonas.enge at gmail dot com>
# Contributor: Doug Newgard <scimmia22 at outlook dot com>
# Maintainer: Jonas Heinrich <onny@project-insnaity.org>
pkgname=acestream-mozilla-plugin
pkgver=2.1.6
pkgrel=1
_ubuntuver=raring
_ubunturel=2
_watch=('http://repo.acestream.org/ubuntu/dists/raring/main/binary-amd64/Packages')
pkgdesc="ACE Stream multimedia plugin for web browsers"
arch=('i686' 'x86_64')
url="http://acestream.org/"
license=('unknown')
depends=('acestream-player-data' 'acestream-engine' 'qtwebkit')
conflicts=('acestream')
if [[ "$CARCH" == "i686" ]]; then
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_i386.deb")
sha512sums=('638b7e8a2d1a9729f624e550db4df55ca24d8537e26c48fafbfac53fe6c43405f2e38aae5a249d9d4921c098f953784e4a3ec54fba1ec2cb5f9ff626ef74e115')
else
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_amd64.deb")
sha512sums=('cf300ba2630790aaabd80c2cf8ef4e414f42c105aa1dada34e17712210568376a4f8426c40b4c735157c2a887ff6cfbc38a6b16b983973d4391f07c26a4107f3')
fi
package() {
cd "$srcdir"
bsdtar -xf data.tar.gz -C "$pkgdir"
}
# Contributor: MacCyber <jonas.enge at gmail dot com>
# Contributor: Doug Newgard <scimmia22 at outlook dot com>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=acestream-player-data
pkgver=2.1.6
pkgrel=1
_ubuntuver=raring
_ubunturel=2
_watch=('http://repo.acestream.org/ubuntu/dists/raring/main/binary-amd64/Packages')
pkgdesc="ACE Stream player libraries files"
arch=('i686' 'x86_64')
url="http://acestream.org/"
license=('unknown')
depends=('a52dec' 'ffmpeg-compat' 'faad2' 'libdca' 'libdvbpsi' 'libdvdnav' 'libmad'
'libpng12' 'libmatroska' 'libmpcdec' 'libmpeg2' 'libproxy' 'libshout' 'libupnp' 'libxpm'
'lua51' 'qt4' 'sdl_image' 'taglib' 'xcb-util-keysyms')
optdepends=('aalib: for ASCII art plugin'
'avahi: for service discovery using bonjour protocol'
'flac: for Free Lossless Audio Codec plugin'
'fluidsynth: for synthesizer MIDI FluidSynth'
'gnome-vfs: for GNOME Virtual File System support'
'kdelibs: KDE Solid hardware integration'
'libavc1394: for devices using the 1394ta AV/C'
'libbluray: for Blu-Ray support'
'libcaca: for colored ASCII art video output'
'libcdio: for audio CD playback support'
'libnotify: for notification plugin'
'libdc1394: for IEEE 1394 plugin'
'libdvdcss: for decoding encrypted DVDs'
'libgme: for libgme plugin'
'libgoom2: for libgoom plugin'
'libmtp: for MTP devices support'
'librsvg: for SVG plugin'
'libssh2: for sftp support'
'libva-vdpau-driver: vdpau back-end for nvidia'
'libva-intel-driver: back-end for intel cards'
'lirc-utils: for lirc plugin'
'ncurses: for ncurses interface support'
'opus: for opus support'
'oss: for OSS audio support'
'portaudio: for portaudio support'
'projectm: for ProjectM visualisation plugin'
'smbclient: for SMB access plugin'
'twolame: for TwoLAME mpeg2 encoder plugin'
'vcdimager: navigate VCD with libvcdinfo'
'xosd: for xosd support'
'ttf-freefont: for subtitle font')
conflicts=('acestream')
if [[ "$CARCH" == "i686" ]]; then
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_i386.deb")
sha512sums=('c24b0442123071a42a632b3c93e0dd313f656ac5dd42673eaced0904f434306dfb89069c68b16730c627fd96c386ffaa39aa2bfaf419025e4c19c7eb62ddf092')
else
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_amd64.deb")
sha512sums=('8162dc8ef00f8edd09420d6a2f09d9a9bf489a5ce113f40b6a9638afdfcbdec7403f25aab16aa483886ff736ab81136d2c45bcc8fd6741f9bcebb226e337a561')
fi
package() {
cd "$srcdir"
bsdtar -xf data.tar.gz -C "$pkgdir"
# create symlinks for libs that Ubuntu names differenly
cd "$pkgdir/usr/lib"
ln -s liba52.so.0.0.0 liba52-0.7.4.so
ln -s liblua5.1.so liblua5.1.so.0
}
# Contributor: MacCyber <jonas.enge at gmail dot com>
# Contributor: Doug Newgard <scimmia22 at outlook dot com>
# Maintainer: Jonas Heinrich <onny@project-insnaity.org>
pkgname=acestream-player
pkgver=2.1.6
pkgrel=1
_ubuntuver=raring
_ubunturel=2
_watch=('http://repo.acestream.org/ubuntu/dists/raring/main/binary-amd64/Packages')
pkgdesc="ACE Stream HD multimedia player based on VLC"
arch=('i686' 'x86_64')
url="http://acestream.org/"
license=('unknown')
depends=('acestream-player-data' 'acestream-engine')
conflicts=('acestream')
install=acestream-player.install
if [[ "$CARCH" == "i686" ]]; then
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_i386.deb")
sha512sums=('594fb54d60802b6259fd5a7566399984e5bbcd0d54148e4908c43b94315322dc49326d6dd3a4fe31acf3de7e31636257b924b4c52145a8654b3f7b45e21e7bef')
else
source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${_ubuntuver}${_ubunturel}_amd64.deb")
sha512sums=('211667ca51f8f403fe6c4c230a561bf4fbdae0c090d6234030f498167c9b449911777d6f120b1bb63762c2fb0ec5b2cf4b9812f3982af2aafc31b3a99e35b80f')
fi
package() {
cd "$srcdir"
bsdtar -xf data.tar.gz -C "$pkgdir"
}
# Contributor: Jeffrey Grembecki <jeff * mcmedia com au>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=archivemount
pkgver=0.8.3
pkgrel=1
pkgdesc="FUSE based filesystem for mounting compressed archives"
arch=('i686' 'x86_64')
url="http://www.cybernoia.de/software/archivemount/"
license="GPL"
depends=('fuse' 'libarchive')
source=("http://www.cybernoia.de/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('f0d50cdce44a0ee57f0d3a32cb37af4159a7400e47a8c61360c9c0c1be6fdbe98d2aa1cc530b3a71fe70e4f550ea5ed431204d738931dca757135677e1984733')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -D "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# Maintainer: onny <onny@project-insanity.org>
# Contributor: onny <onny@project-insanity.org>
pkgname=bluelog
pkgver=1.1.2
pkgrel=1
pkgdesc="A Linux Bluetooth scanner and sniffer written to do a single task, log devices that are in discoverable mode"
url=('http://www.digifail.com/software/bluelog.shtml')
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('bluez-libs')
depends=('bluez')
source=("http://dl.packetstormsecurity.net/wireless/${pkgname}-${pkgver}.tar.gz")
sha512sums=('215e10280ab9859ad1e0442afbe39d4a1b4e1dd2f4a930b81364fe3d2a6e318d46d8afd1f4ea0f1035c742ea6b3a7a92aaeeb2e71b4e3fa0e556f17e70ccb10a')
build () {
cd "${srcdir}/${pkgname}-${pkgver}"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
}
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=btar
pkgver=1.1.1
pkgrel=1
pkgdesc="btar is a tar-compatible archiver with several extra features"
url=('http://vicerveza.homeunix.net/~viric/cgi-bin/btar')
_watch=('http://vicerveza.homeunix.net/~viric/cgi-bin/btar/doc/trunk/doc/home.wiki','btar-([\d.]*).tar.gz</a>')
arch=('i686' 'x86_64')
license=('GPL3')
makedepends=('librsync')
source=("http://vicerveza.homeunix.net/~viric/soft/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=("1b7a9032660c9e5ffa4e9663c1d1bbf963ac27d844d3fdb04b1e3c3f903c2f7f83a6e08716d6055f83aec80a54d693199b50f401074ec576f513dc600bd37b01")
options=('!buildflags')
build () {
cd "${srcdir}/${pkgname}-${pkgver}"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX="$pkgdir" install
}
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=btcat2
pkgver=1
pkgrel=2
pkgdesc="Download a torrent file from the network and output its contents to the standard output (python3 fork)."
arch=(any)
url="http://jordic.com/btcat/"
license=('GPL3')
depends=('python' 'python-libtorrent-rasterbar')
provides=('btcat')
conflicts=('btcat')
replaces=('btcat')
source=('http://onny.project-insanity.org/files/btcat')
sha512sums=('cfe9df911da0258ecbec6f14d16e2fe5b23ea59f80db3ba5687d5c3b6678b8b1cd826ba68db63cfb990e490d0ef36c5dbd42c3e53c00cf3a0b8b803755aa6abf')
package() {
cd "${srcdir}"
install -D -m755 $srcdir/btcat $pkgdir/usr/bin/btcat
}
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=btlive
pkgver=0.4.12.335
pkgrel=1
pkgdesc="Bittorrent Live is a technology for p2p live streaming, client version"
arch=('i686' 'x86_64')
url="http://live.bittorrent.com"
_watch=('http://live-installer-autoupdate.s3.amazonaws.com/latest_version.js','([\d.]*\d+)')
license=('nonfree')
depends=('python2' 'sensible-utils' 'python2-distribute' 'pygtk')
if [ "${CARCH}" = "x86_64" ]; then
_arch="amd64"
sha512sums=('c0fe5138e5a2469ddb27cf98af74092868fddb5086e191e9424dcb038eb6ee663c1325d7492503bcab351729a2c2cd1baf785375a1252d59938ca45819c2bfc1'
'b2151d059fc5856fea4fecb9a64ce2fc874d9356f0908fbbd66d938e9b7e95d3a65c76024c8c15d7b579d74cd832c0e02bfee3953292345dcfeca19c4374da70')
else
_arch="i386"
sha512sums=('542396581bf1d9c228977fe45d1d6008b38e2a648d038597de4f1b7e856a2e81e80d40cf9e99fff30c16aa4a51810c16fe69686a4b52417690eb2bf36e18fc6b'
'b2151d059fc5856fea4fecb9a64ce2fc874d9356f0908fbbd66d938e9b7e95d3a65c76024c8c15d7b579d74cd832c0e02bfee3953292345dcfeca19c4374da70')
fi
source=("http://live-installer-autoupdate.s3.amazonaws.com/${pkgname}_${pkgver}_${_arch}.deb"
"${pkgname}.service")
options=('!strip')
package () {
cd $srcdir
ar x "${pkgname}_${pkgver}_${_arch}.deb"
tar -xvf data.tar.gz -C "${pkgdir}/"
# Create btlive service
install -Dm644 "${srcdir}/btlive.service" "${pkgdir}/usr/lib/systemd/system/btlive.service"
}
# vim:set ts=4 sw=4 et:
[Unit]
Description=BTLive Daemon
After=network.target
[Service]
#User=
ExecStart=/usr/bin/btlive
ExecStop=/bin/kill -INT $MAINPID
[Install]
WantedBy=multi-user.target
# $Id: PKGBUILD 72136 2012-06-09 00:24:01Z dreisner $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
# bugs/todo:
# - install-file should check if user courier already exists and then skip the useradd command
pkgname=courier-authlib
pkgver=0.66.1
pkgrel=1
pkgdesc="Authentification library for the courier mailserver(s)"
arch=(i686 x86_64)
license=('GPL2')
url="http://courier-mta.org/authlib/"
backup=('etc/authlib/authdaemonrc' 'etc/authlib/authldaprc' \
'etc/authlib/authmysqlrc' 'etc/authlib/authpgsqlrc')
depends=('openssl' 'gdbm' 'perl' 'libtool' 'expect')
makedepends=('expect' 'pam' 'libldap' 'libmysqlclient' 'postgresql-libs>=8.3.0')
optdepends=('sqlite: With support for the authsqlite authentication module'
'libmariadbclient: With support for the authmysql authentication module'
'libldap: With support for the authldap authentication module'
'postgresql-libs: With support for the authpgsql authentication module'
'pam: With support for the authpam authentication module')
options=(!libtool)
install=${pkgname}.install
source=(http://downloads.sourceforge.net/project/courier/authlib/${pkgver}/${pkgname}-${pkgver}.tar.bz2
courier-authlib.tmpfiles
authdaemond.service)
sha512sums=('d2b0c9c92c0af8c596fd9b14337034e2859c4540b5b20523e8dfbec78f54021104b6864c7f3488f518ebfff488b38bdbc26690763175940d12019f5cbc482b33'
'6fa87f52a3a26ae470bc28f9ff6d5f7c16afc5ccaf0d3209378e7339271d568dc59ca9fc9d0b5bbfc4155e76702f5de18899237252860a4a3636eabb94a770d7'
'854c4a921ca0411c03c45f63779ae1ba17fee40a22080176c99460954ffc15222b9a198dafaa35d01ab7b3a2fc12ace6eb1531d14f9c0f86326e1d7a7cf8fdcb')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--with-db=gdbm \
--with-mailuser=courier --with-mailgroup=courier \
--with-authpam --with-authpwd --with-authshadow \
--with-authldap --with-authmysql --with-authpgsql \
--with-authuserdb --with-authcram --with-authdaemon \
--with-authdaemonvar=/run/authdaemon
#--with-authsqlite --with-sqlite-libs
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
###############################################################################
# post_installation ---- rename the config file and change ownerschip
for distfile in ${pkgdir}/etc/authlib/*.dist; do
chown 72:72 ${distfile}
mv ${distfile} ${pkgdir}/etc/authlib/`basename ${distfile} .dist`
done
# copy the .schema; mostly refered to as courier.schema -> rename it
install -Dm 444 authldap.schema \
${pkgdir}/etc/openldap/schema/courier.schema
###############################################################################
#mkdir -p ${pkgdir}/var/spool/authdaemon
#chown -R 72:72 ${pkgdir}/var/spool/authdaemon
mkdir -p ${pkgdir}/run/authdaemon
mkdir -p ${pkgdir}/var/spool/courier
chown -R 72:72 ${pkgdir}/var/spool/courier
# docs say we can remove .a files after make
find ${pkgdir} -name '*\.a' -exec rm -f {} \;
# Make libs available to /usr/lib
cd $pkgdir/usr/lib
for lib in courier-authlib/*.so; do
ln -s $lib .
done
# Install service file
install -Dm 644 "${srcdir}/authdaemond.service" "${pkgdir}/usr/lib/systemd/system/authdaemond.service"
# Install systemd configuration files
install -Dm644 "$srcdir/courier-authlib.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/courier-authlib.conf"
}
[Unit]
Description=Courier Authentification Daemon
[Service]
Type=forking
ExecStart=/usr/sbin/authdaemond start
ExecStop=/usr/sbin/authdaemon stop
PIDFile=/var/run/authdaemon/pid
[Install]
WantedBy=multi-user.target
# arg 1: the new package version
post_install() {
# creates group and user on virgin systems
if ! getent group courier >/dev/null; then
groupadd -g 72 courier >/dev/null 2>&1
fi
if getent passwd courier >/dev/null; then
useradd -u 72 -d /var/spool/courier -g courier -s /bin/false courier >/dev/null 2>&1
fi
useradd courier -g courier
systemd-tmpfiles --create /usr/lib/tmpfiles.d/courier-authlib.conf
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
pre_remove() {
userdel courier
groupdel courier
} >/dev/null 2>&1
# $Id: PKGBUILD 73306 2012-07-06 03:48:18Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
# Contributor: tobias <tobias@archlinux.org>
# Committer: Manolis Tzanidakis <manolis@archlinux.org>
pkgname=courier-imap
pkgver=4.15
pkgrel=11
pkgdesc="IMAP(s)/POP3(s) Server"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.courier-mta.org/imap/"
depends=('courier-maildrop' 'gcc-libs' 'gamin' 'gdbm' 'openssl')
backup=('etc/courier-imap/imapd.cnf' 'etc/courier-imap/pop3d.cnf' \
'etc/courier-imap/imapd' 'etc/courier-imap/imapd-ssl' \
'etc/courier-imap/pop3d' 'etc/courier-imap/pop3d-ssl'\
'etc/conf.d/courier-imap')
conflicts=('courier-mta')
provides=('imap-server' 'pop3-server')
options=('!libtool')
#install=$pkgname.install
source=(http://downloads.sourceforge.net/project/courier/imap/${pkgver}/${pkgname}-${pkgver}.tar.bz2
courier-imapd-ssl.service
courier-imapd.service
courier-pop3d.service
courier-pop3d-ssl.service)
sha512sums=('7829662282db5e6f414a1d34f06a94c2dd028e263510f01b49ebd3a1a4994055ecc08604568f5a44a30f6411e3a34e0d6c38807c29eaf255752191e885f82e1a'
'fcbc553e2b4542f246762ed1b20f1ae6a8f2b7c808e9ac537577e21ad933a0b1b4ea04eabb900ef423e2f4d037f973e73bf5f7e8ff6f0e3f7997f26dfd39b09f'
'daec41de02a8b056a0b54e9c5446e144192762e4354875fb18b306473e006eadee74664e65f45e07e071b70158f741720a9acd41c14474d61ee0c619a59e8a98'
'329ae0f76d5db53ed5392584ddfe7c4a10bfcec51a50c80d10fda1c318ab4929251ecc206403e045dba2c1d7388334473e2d8bf04dcfcc3d07301e89a609ea57'
'337639e7c666e972ffc9d9fe58a897b3643582c80c22cf2503d616319c3e69969bba2fc629b4ae7f94a6f6a97ae0524b8c12426c5f05be4240e742a1f7c9d934')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# fix a tiny bug
sed -i -e \
's|--with-authchangepwdir=/var/tmp/dev/null|--with-authchangepwdir=$libexecdir/authlib|' \
configure && chmod 755 configure
./configure --prefix=/usr \
--sysconfdir=/etc/courier-imap \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/courier-imap \
--localstatedir=/var/spool/courier-imap \
--disable-root-check \
--enable-unicode \
--enable-workarounds-for-imap-client-bugs \
--with-piddir=/var/run/courier \
--with-trashquota \
--with-db=gdbm \
--with-mailuser=courier --with-mailgroup=courier
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
# cleanup - provided by courier-maildrop
rm ${pkgdir}/usr/bin/{deliverquota,maildirmake}
rm ${pkgdir}/usr/share/man/man1/maildirmake*
rm ${pkgdir}/usr/share/man/man8/deliverquota*
find ${pkgdir} -name '*\.a' -exec -rm -f {} \;
###############################################################################
# this is what usually "make install-configure" does
# *.dist files get rid of "dist"
for distfile in ${pkgdir}/etc/courier-imap/*.dist; do
mv ${distfile} ${pkgdir}/etc/courier-imap/$(basename ${distfile} .dist)
done
sed -i 's|TLS_CERTFILE=/usr/share/|TLS_CERTFILE=/etc/courier-imap/|' \
${pkgdir}/etc/courier-imap/*-ssl
#for pamfile in imap/*.pam; do
# sed -i "s|/lib/security/||;s|pam_pwdb|pam_unix|" ${pamfile}
# install -Dm 644 ${pamfile} \
# ${pkgdir}/etc/pam.d/$(basename ${pamfile} .pam | sed "s/d$//")
#done
# Install systemd service files
install -Dm 644 "${srcdir}/courier-imapd.service" "${pkgdir}/usr/lib/systemd/system/courier-imapd.service"
install -Dm 644 "${srcdir}/courier-imapd-ssl.service" "${pkgdir}/usr/lib/systemd/system/courier-imapd-ssl.service"
install -Dm 644 "${srcdir}/courier-pop3d.service" "${pkgdir}/usr/lib/systemd/system/courier-pop3d.service"
install -Dm 644 "${srcdir}/courier-pop3d-ssl.service" "${pkgdir}/usr/lib/systemd/system/courier-pop3d-ssl.service"
# Install systemd configuration files
mkdir "$pkgdir/usr/lib/tmpfiles.d" -p
echo "D /run/courier 0755 courier courier" > "$pkgdir/usr/lib/tmpfiles.d/courier-imapd.conf"
echo "D /run/courier 0755 courier courier" > "$pkgdir/usr/lib/tmpfiles.d/courier-imapd-ssl.conf"
mkdir -p ${pkgdir}/var/run/courier
}
[Unit]
Description=Courier IMAP (SSL) Daemon
Requires=authdaemond.service
After=authdaemond.service
[Service]
Type=forking
EnvironmentFile=/etc/courier-imap/imapd
ExecStart=/usr/lib/courier-imap/imapd-ssl.rc start
ExecStop=/usr/lib/courier-imap/imapd-ssl.rc stop
PIDFile=/var/run/courier/imapd-ssl.pid
[Install]
WantedBy=multi-user.target
[Unit]
Description=Courier IMAP Daemon
Requires=authdaemond.service
After=authdaemond.service
[Service]
Type=forking
EnvironmentFile=/etc/courier-imap/imapd
ExecStart=/usr/lib/courier-imap/imapd.rc start
ExecStop=/usr/lib/courier-imap/imapd.rc stop
PIDFile=/var/run/courier/imapd.pid
[Install]
WantedBy=multi-user.target
[Unit]
Description=Courier POP3 (SSL) Daemon
Requires=authdaemond.service
After=authdaemond.service
[Service]
Type=forking
EnvironmentFile=/etc/courier-imap/pop3d
ExecStart=/usr/lib/courier-imap/pop3d-ssl.rc start
ExecStop=/usr/lib/courier-imap/pop3d-ssl.rc stop
PIDFile=/var/run/courier/pop3d-ssl.pid
[Install]
WantedBy=multi-user.target
[Unit]
Description=Courier POP3 Daemon
Requires=authdaemond.service
After=authdaemond.service
[Service]
Type=forking
EnvironmentFile=/etc/courier-imap/pop3d
ExecStart=/usr/lib/courier-imap/pop3d.rc start
ExecStop=/usr/lib/courier-imap/pop3d.rc stop
PIDFile=/var/run/courier/pop3d.pid
[Install]
WantedBy=multi-user.target
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=drupal-de
_language=de
pkgver=7.20
pkgrel=1
pkgdesc="German language internationalization for Drupal"
arch=('any')
url="http://localize.drupal.org/translate/downloads"
_watch="http://localize.drupal.org/translate/downloads"
license=('nonfree')
depends=('drupal')
sha512sums=('15b9ff43eb1146c50b4461c2c8d9fc2019493a41256390dc6d02a995102a58b8a52f1d6ccc5ff7bc0af8fbb9c8d41c3f31d1fafebb4de8669dde0fb652fc5e37')
source=("http://ftp.drupal.org/files/translations/7.x/drupal/drupal-${pkgver}.${_language}.po")
package () {
install -Dm644 "${srcdir}/drupal-${pkgver}.${_language}.po" "${pkgdir}/usr/share/webapps/drupal/profiles/standard/translations/drupal-${pkgver}.${_language}.po"
}
# vim:set ts=4 sw=4 et:
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=etherpad-lite
pkgver=1.3.0
pkgrel=2
pkgdesc="A lightweight fork of etherpad based on javascript"
arch=(any)
url="http://etherpad.org"
_watch=('http://etherpad.org','Documentation <small>v([\d.]*)</small>')
license=('GPL2')
depends=('curl' 'python2' 'openssl' 'nodejs')
conflicts=('etherpad-lite-git')
backup=(usr/share/webapps/etherpad-lite/settings.json)
install='etherpad-lite.install'
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ether/${pkgname}/archive/${pkgver}.tar.gz"
"etherpad-lite.service")
sha512sums=('033d54c5ec9daa23d8f57b0543b8d87cb76e3568f888f5f380454821ad2c6171e1c6b64e56a4e9476c2f757da698fb75a170693c963334bcc42dfd4145fb181d'
'4964e3455892e9216c7f4c596c7e89591dabe5d4e14f1dc650f6aadaf142b8be62f992ab599d899f0391ccdf5b55abe7731dbdf8e2b7df93e528861f2096d550')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
./bin/installDeps.sh
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
mkdir -p "${pkgdir}/usr/share/webapps" "${pkgdir}/var/run/etherpad-lite"
rm start.bat
cp -r . "${pkgdir}/usr/share/webapps/${pkgname}"
install -Dm644 "${srcdir}/etherpad-lite.service" "${pkgdir}/usr/lib/systemd/system/etherpad-lite.service"
install -D "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
post_install(){
getent group etherpad >/dev/null 2>&1 || groupadd etherpad &>/dev/null
getent passwd etherpad >/dev/null 2>&1 || useradd -g etherpad -d /var/run/etherpad-lite -s /bin/false etherpad &>/dev/null
chown -R etherpad:etherpad /usr/share/webapps/etherpad-lite /var/run/etherpad-lite
}
post_upgrade(){
getent group etherpad >/dev/null 2>&1 || groupadd etherpad &>/dev/null
getent passwd etherpad >/dev/null 2>&1 || useradd -g etherpad -d /var/run/etherpad-lite -s /bin/false etherpad &>/dev/null
chown -R etherpad:etherpad /usr/share/webapps/etherpad-lite /var/run/etherpad-lite
}
post_remove() {
if getent passwd etherpad >/dev/null 2>&1; then
userdel etherpad
fi
if getent group etherpad >/dev/null 2>&1; then
groupdel etherpad
fi
}
[Unit]
Description=Etherpad-Lite server
After=syslog.target
After=network.target
[Service]
Type=simple
User=etherpad
Group=etherpad
PermissionsStartOnly=true
ExecStartPre=-/usr/bin/mkdir /var/run/etherpad-lite
ExecStartPre=/usr/bin/chown -R etherpad:etherpad /var/run/etherpad-lite
ExecStart=/usr/share/webapps/etherpad-lite/bin/run.sh
[Install]
WantedBy=multi-user.target
# Submitter: Jonas Heinrich <onny@project-insanity.org>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
# ToDo:
# - bin file
# - systemd service
pkgname=ethersheet-git
_pkgname=EtherSheet
pkgver=0.0.5.192.gdc1d3b3
pkgrel=1
pkgdesc="Ether Sheet is a collaborative, realtime open source spreadsheet"
arch=(any)
url="http://ethersheet.org"
license=('custom')
depends=('nodejs')
makedepends=('git')
source=('git+https://github.com/ethersheet-collective/EtherSheet.git')
sha512sums=('SKIP')
pkgver() {
cd "$SRCDEST/${_pkgname}"
git describe --always | sed 's|-|.|g' | cut -f2 -d"v"
}
build() {
cd "$srcdir/${_pkgname}"
./bin/install.sh
}
package() {
cd "$srcdir/${_pkgname}"
install -D "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# Submitter: Jonas Heinrich <onny@project-insanity.org>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
# ToDo:
# - bin file
# - systemd service
pkgname=ethersheet
_pkgname=EtherSheet
pkgver=0.0.5
pkgrel=1
pkgdesc="Ether Sheet is a collaborative, realtime open source spreadsheet"
arch=(any)
url="http://ethersheet.org"
license=('GPL')
depends=('nodejs')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ethersheet-collective/${_pkgname}/archive/v${pkgver}.tar.gz")