diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /pcr | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'pcr')
73 files changed, 2023 insertions, 123 deletions
diff --git a/pcr/9mount/PKGBUILD b/pcr/9mount/PKGBUILD new file mode 100644 index 000000000..3de06c084 --- /dev/null +++ b/pcr/9mount/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (AUR): Fazlul Shahriar <fshahriar@gmail.com> + +pkgname=9mount +pkgver=1.3 +pkgdesc="A set of SUID tools for mounting 9p filesystems via v9fs." +url="http://sqweek.net/code/9mount/" +license=('custom:ISC') +source=("http://sqweek.net/9p/$pkgname-$pkgver.tar.gz" fix-checks.patch) + +pkgrel=3 +arch=('i686' 'x86_64') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -i "$srcdir/fix-checks.patch" + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + PATH=.:$PATH sh ./test.sh +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make prefix="$pkgdir/usr" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9umount.1" + ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9bind.1" +} + +md5sums=('711a0a6f4d076c8275596171b0a315d0' + '7961acda05c55f91f8cd6fb0d51b5c7d') +sha256sums=('820d80b9b478d05ecb022ad658477b37cfc2414a8669c3af17d192a522064c17' + '69cd1be08cc13cdecf2851dd6f78efd734afa8b0b099484cd777edb0b1d36f79') diff --git a/pcr/9mount/fix-checks.patch b/pcr/9mount/fix-checks.patch new file mode 100644 index 000000000..9af711ba5 --- /dev/null +++ b/pcr/9mount/fix-checks.patch @@ -0,0 +1,24 @@ +--- test.sh.orig 2012-10-15 11:15:07.000000000 -0400 ++++ test.sh 2012-10-15 11:15:11.000000000 -0400 +@@ -7,7 +7,7 @@ + shift; shift + actual=$(9mount -n "$@" 2>&1) + aopts=$(echo $actual |sed 's/.*-o \([^ ]*\) .*/\1/' |tr , '\n' |sort |tr '\n' , |sed 's/,$//') +- actual=$(echo $actual |sed 's/-o [^ ]*/-o '"$aopts"'/') ++ actual=$(echo $actual |sed -e 's/-o [^ ]*/-o '"$aopts"'/' -e 's/ ::1 / 127.0.0.1 /') + if [ "$expected" != "$actual" ]; then + echo ' '9mount "$@" + echo $expected' #expected' +@@ -48,6 +48,7 @@ + output=$(9mount -n "$@" 2>&1) && { + echo ' '9mount "$@" + echo $output' #should have failed!' ++ exit 1 + } + } + +@@ -59,3 +60,4 @@ + shouldfail unix!/tmp/9mount!qux $mtpt + shouldfail virtio!/dev/chan!bar $mtpt + shouldfail tcp!localhost!564!foo $mtpt ++exit 0 diff --git a/pcr/aseprite/PKGBUILD b/pcr/aseprite/PKGBUILD new file mode 100644 index 000000000..bf0052363 --- /dev/null +++ b/pcr/aseprite/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Benoit Favre <benoit.favre@gmail.com> +# Contributor: Alexander Rødseth <rodseth@gmail.com> + +pkgname=aseprite +pkgver=0.9.5 +pkgrel=3 +pkgdesc='Create animated sprites and pixel art' +arch=('x86_64' 'i686') +url='http://www.aseprite.org/' +license=('GPL') +depends=('allegro') +makedepends=('cmake') +source=("http://aseprite.googlecode.com/files/$pkgname-$pkgver.zip" aseprite.desktop) +sha256sums=('ce4f1e011744f9a5927a5341fccc3938b67f15f6a66d5df6b4282c5498fb8fd5' 'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa') + +build() { + cd "$pkgname-$pkgver" + + cmake -DCMAKE_INSTALL_PREFIX:STRING=/usr . + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + install -Dm644 "$srcdir/$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "data/icons/ase48.png" \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/aseprite/aseprite.desktop b/pcr/aseprite/aseprite.desktop new file mode 100644 index 000000000..b000fa018 --- /dev/null +++ b/pcr/aseprite/aseprite.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Aseprite +Comment=Pixel-art paint program +Exec=aseprite +Terminal=false +Categories=Graphics;2DGraphics;RasterGraphics +Icon=aseprite diff --git a/pcr/blender-addon-ogre/PKGBUILD b/pcr/blender-addon-ogre/PKGBUILD index 4baf8ca39..5fd846220 100644 --- a/pcr/blender-addon-ogre/PKGBUILD +++ b/pcr/blender-addon-ogre/PKGBUILD @@ -1,13 +1,13 @@ # Maintainer: Márcio Silva <coadde@lavabit.com> _bldname=blender -_bldver=2.68 -_bldep=9 +_bldver=2.69 +_bldep=10 _pkgname=ogre pkgname=$_bldname-addon-$_pkgname pkgver=0.6.0 -pkgrel=2 +pkgrel=3 pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname-libre package)" arch=any url=https://code.google.com/p/${_bldname}2$_pkgname diff --git a/pcr/cherokee/PKGBUILD b/pcr/cherokee/PKGBUILD new file mode 100644 index 000000000..1d3b3d941 --- /dev/null +++ b/pcr/cherokee/PKGBUILD @@ -0,0 +1,100 @@ +# $Id: PKGBUILD 63849 2012-02-06 06:17:28Z foutrelis $ +# Maintainer: Fernando Jiménez Solano <fjim@sdfeu.org> +# Contributor: Evangelos Foutras <evangelos@foutrelis.com> +# Contributor: Link Dupont <link@subpop.net> +# Contributor: Pierre Bourdin <pierre@pi3rrot.net> + +pkgname=cherokee +pkgver=1.2.103 +pkgrel=1 +pkgdesc="A very fast, flexible and easy to configure Web Server (Parabola rebranded)" +arch=('i686' 'x86_64') +url="http://www.cherokee-project.com/" +license=('GPL2') +depends=('openssl' 'pcre') +makedepends=('python2' 'gettext' 'libldap' 'pam' 'libmysqlclient' + 'ffmpeg' 'geoip') +optdepends=('python2: cherokee-admin (administrative web interface)' + 'libldap: ldap validator' + 'pam: pam validator' + 'libmysqlclient: mysql validator' + 'ffmpeg: Audio/Video streaming handler' + 'geoip: GeoIP rule module' + 'rrdtool: RRDtool based information collector') +backup=('etc/cherokee/cherokee.conf' + 'etc/logrotate.d/cherokee' + 'etc/pam.d/cherokee') +options=('!libtool') +source=(https://github.com/cherokee/webserver/archive/v1.2.103.zip + cherokee.rc + cherokee.logrotate +# fix-ctk-path-handler-match.patch +# cherokee-1.2.101-ffmpeg0.11.patch + cherokee.service) + +sha256sums=('0e125cba2ad2d0dc48ecca3af4894b92ec5fab422a9d7d27fd0c7a74751e5f35' + '4c06cebfab8b68edd4967c020bfb41b077cfff10d76596d1ed192d0b6cedbd86' + '20e26d633f8c1cd90eb21f41dd163b73a83846e405b1ce995e072c4efefc522e' +# '2bd05e0181024c9bd02d828e8329d4d96a779e4870b1fc4f18aa8667d8c6a630' +# '6bcdcb8eaccb5516478a0c36960fbacc3d68f8bc326b9b526c388e0607a65116' + '415a2e4cd7d04afe21e502dd0ad76301f85a7087cadbfdab5566bec469679a68') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix path matching bug in CTK apps (e.g. market) +# patch -Np1 -i "$srcdir/fix-ctk-path-handler-match.patch" + # Fix this bug : https://bugs.mageia.org/show_bug.cgi?id=6145 +# patch -Np1 -i "$srcdir/cherokee-1.2.101-ffmpeg0.11.patch" + + # Use subdirectory for logs + sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre + + # Use Python 2 in cherokee-admin + sed -i 's/"python"/"python2"/' cherokee/main_admin.c + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --with-wwwroot=/srv/http \ + --with-wwwuser=http \ + --with-wwwgroup=http \ + --with-python=python2 \ + --enable-os-string="Parabola GNU/Linux-libre" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make -j1 DESTDIR="$pkgdir" install + + # PAM configuration file for cherokee + install -D -m644 pam.d_cherokee "$pkgdir/etc/pam.d/$pkgname" + + # Fix ownership of /var/lib/cherokee/graphs + chown -R http:http "$pkgdir/var/lib/$pkgname/graphs" + + # Use Python 2 + sed -i 's/env python$/&2/' \ + "$pkgdir/usr/share/cherokee/admin/"{server,upgrade_config}.py \ + "$pkgdir/usr/bin/"{CTK-run,cherokee-{admin-launcher,tweak}} + sed -i -r "s/['\"]python/&2/g" \ + "$pkgdir/usr/share/cherokee/admin/wizards/django.py" + + # Compile Python scripts + python2 -m compileall "$pkgdir" + python2 -O -m compileall "$pkgdir" + + install -d -o http -g http "$pkgdir/var/log/$pkgname" + install -D "$srcdir/$pkgname.rc" "$pkgdir/etc/rc.d/$pkgname" + install -Dm644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname" + install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service" + + # Cleanup + rm -rf "$pkgdir/srv" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/cherokee/cherokee.logrotate b/pcr/cherokee/cherokee.logrotate new file mode 100644 index 000000000..19207fd02 --- /dev/null +++ b/pcr/cherokee/cherokee.logrotate @@ -0,0 +1,9 @@ +/var/log/cherokee/*.error /var/log/cherokee/*.access { + daily + rotate 14 + compress + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/cherokee.pid 2>/dev/null` 2>/dev/null || true + endscript +} diff --git a/pcr/cherokee/cherokee.rc b/pcr/cherokee/cherokee.rc new file mode 100644 index 000000000..2d413dc13 --- /dev/null +++ b/pcr/cherokee/cherokee.rc @@ -0,0 +1,65 @@ +#!/bin/bash + +daemon_name=cherokee + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting $daemon_name daemon" + if [ ! -f /var/run/$daemon_name.pid ] && $daemon_name -d &>/dev/null; then + add_daemon $daemon_name + stat_done + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping $daemon_name daemon" + [ -f /var/run/$daemon_name.pid ] && read PID </var/run/$daemon_name.pid + if kill $PID &>/dev/null; then + rm_daemon $daemon_name + stat_done + else + stat_fail + exit 1 + fi + ;; + + reload) + stat_busy "Reloading $daemon_name daemon" + [ -f /var/run/$daemon_name.pid ] && read PID </var/run/$daemon_name.pid + if kill -HUP $PID &>/dev/null; then + add_daemon $daemon_name + stat_done + else + stat_fail + exit 1 + fi + ;; + + restart) + stat_busy "Restarting $daemon_name daemon" + [ -f /var/run/$daemon_name.pid ] && read PID </var/run/$daemon_name.pid + if kill -USR1 $PID &>/dev/null; then + add_daemon $daemon_name + stat_done + else + stat_fail + exit 1 + fi + ;; + + status) + stat_busy "Checking $daemon_name status"; + ck_status $daemon_name + ;; + + *) + echo "usage: $0 {start|stop|reload|restart|status}" +esac + +exit 0 diff --git a/pcr/cherokee/cherokee.service b/pcr/cherokee/cherokee.service new file mode 100644 index 000000000..7a5b95e43 --- /dev/null +++ b/pcr/cherokee/cherokee.service @@ -0,0 +1,9 @@ +[Unit] +Description=Cherokee web server +After=network.target + +[Service] +ExecStart=/usr/sbin/cherokee + +[Install] +WantedBy=multi-user.target diff --git a/pcr/cinclude2dot/PKGBUILD b/pcr/cinclude2dot/PKGBUILD new file mode 100644 index 000000000..bab8804d1 --- /dev/null +++ b/pcr/cinclude2dot/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=cinclude2dot +pkgver=1.1 +pkgrel=2 +pkgdesc="A Perl script which analyses C/C++ code and produces a #include dependency graph." +arch=('any') +url="http://flourish.org/cinclude2dot/" +license=('GPL') +depends=('perl') +source=('http://flourish.org/cinclude2dot/cinclude2dot' + 'http://flourish.org/cinclude2dot/cinclude2dot.1') + +build() { + gzip -c cinclude2dot.1 > cinclude2dot.1.gz +} + +package() { + cd "$srcdir" + install -d "$pkgdir/usr/bin" + install -m755 cinclude2dot "$pkgdir/usr/bin" + install -d "$pkgdir/usr/share/man/man1" + install -m644 cinclude2dot.1.gz "$pkgdir/usr/share/man/man1" +} + +md5sums=('372ca2cba1170ae4e040f7f84b7b98b5' + 'bfdc230a26db0c66b238e6380e6badbe') diff --git a/pcr/cpuminer/PKGBUILD b/pcr/cpuminer/PKGBUILD new file mode 100644 index 000000000..be6cd1678 --- /dev/null +++ b/pcr/cpuminer/PKGBUILD @@ -0,0 +1,32 @@ +## Maintainer : gee + +name=cpuminer +pkgname=$name +pkgver=2.3.2 +pkgrel=5 +pkgdesc="pooler's Litecoin cpuminer." +arch=('i686' 'x86_64') +url="https://github.com/pooler/cpuminer" +depends=('curl' 'jansson') +license=('GPL2') +source=("${pkgname}-${pkgver}.zip::https://github.com/pooler/cpuminer/zipball/v${pkgver}" + "libcurl.m4") + +build() { + cpuminer_srcdir=${srcdir}/pooler-cpuminer-* + cd ${cpuminer_srcdir} + autoreconf -fi -I .. + ./configure + make ${MAKEFLAGS} CXXFLAGS="-O3 -march=native" +} + + +package() { + cpuminer_srcdir=${srcdir}/pooler-cpuminer-* + mkdir -p $pkgdir/usr/bin + + # get compiled binaries + install -D -m755 ${cpuminer_srcdir}/minerd $pkgdir/usr/bin/ +} +md5sums=('ca3200d6574fb6463640e8891555cd12' + '5e22a13d29fa628c83c267cf9b4f3218') diff --git a/pcr/cpuminer/libcurl.m4 b/pcr/cpuminer/libcurl.m4 new file mode 100644 index 000000000..d7d5a5259 --- /dev/null +++ b/pcr/cpuminer/libcurl.m4 @@ -0,0 +1,251 @@ +# LIBCURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION], +# [ACTION-IF-YES], [ACTION-IF-NO]) +# ---------------------------------------------------------- +# David Shaw <dshaw@jabberwocky.com> May-09-2006 +# +# Checks for libcurl. DEFAULT-ACTION is the string yes or no to +# specify whether to default to --with-libcurl or --without-libcurl. +# If not supplied, DEFAULT-ACTION is yes. MINIMUM-VERSION is the +# minimum version of libcurl to accept. Pass the version as a regular +# version number like 7.10.1. If not supplied, any version is +# accepted. ACTION-IF-YES is a list of shell commands to run if +# libcurl was successfully found and passed the various tests. +# ACTION-IF-NO is a list of shell commands that are run otherwise. +# Note that using --without-libcurl does run ACTION-IF-NO. +# +# This macro #defines HAVE_LIBCURL if a working libcurl setup is +# found, and sets @LIBCURL@ and @LIBCURL_CPPFLAGS@ to the necessary +# values. Other useful defines are LIBCURL_FEATURE_xxx where xxx are +# the various features supported by libcurl, and LIBCURL_PROTOCOL_yyy +# where yyy are the various protocols supported by libcurl. Both xxx +# and yyy are capitalized. See the list of AH_TEMPLATEs at the top of +# the macro for the complete list of possible defines. Shell +# variables $libcurl_feature_xxx and $libcurl_protocol_yyy are also +# defined to 'yes' for those features and protocols that were found. +# Note that xxx and yyy keep the same capitalization as in the +# curl-config list (e.g. it's "HTTP" and not "http"). +# +# Users may override the detected values by doing something like: +# LIBCURL="-lcurl" LIBCURL_CPPFLAGS="-I/usr/myinclude" ./configure +# +# For the sake of sanity, this macro assumes that any libcurl that is +# found is after version 7.7.2, the first version that included the +# curl-config script. Note that it is very important for people +# packaging binary versions of libcurl to include this script! +# Without curl-config, we can only guess what protocols are available, +# or use curl_version_info to figure it out at runtime. + +AC_DEFUN([LIBCURL_CHECK_CONFIG], +[ + AH_TEMPLATE([LIBCURL_FEATURE_SSL],[Defined if libcurl supports SSL]) + AH_TEMPLATE([LIBCURL_FEATURE_KRB4],[Defined if libcurl supports KRB4]) + AH_TEMPLATE([LIBCURL_FEATURE_IPV6],[Defined if libcurl supports IPv6]) + AH_TEMPLATE([LIBCURL_FEATURE_LIBZ],[Defined if libcurl supports libz]) + AH_TEMPLATE([LIBCURL_FEATURE_ASYNCHDNS],[Defined if libcurl supports AsynchDNS]) + AH_TEMPLATE([LIBCURL_FEATURE_IDN],[Defined if libcurl supports IDN]) + AH_TEMPLATE([LIBCURL_FEATURE_SSPI],[Defined if libcurl supports SSPI]) + AH_TEMPLATE([LIBCURL_FEATURE_NTLM],[Defined if libcurl supports NTLM]) + + AH_TEMPLATE([LIBCURL_PROTOCOL_HTTP],[Defined if libcurl supports HTTP]) + AH_TEMPLATE([LIBCURL_PROTOCOL_HTTPS],[Defined if libcurl supports HTTPS]) + AH_TEMPLATE([LIBCURL_PROTOCOL_FTP],[Defined if libcurl supports FTP]) + AH_TEMPLATE([LIBCURL_PROTOCOL_FTPS],[Defined if libcurl supports FTPS]) + AH_TEMPLATE([LIBCURL_PROTOCOL_FILE],[Defined if libcurl supports FILE]) + AH_TEMPLATE([LIBCURL_PROTOCOL_TELNET],[Defined if libcurl supports TELNET]) + AH_TEMPLATE([LIBCURL_PROTOCOL_LDAP],[Defined if libcurl supports LDAP]) + AH_TEMPLATE([LIBCURL_PROTOCOL_DICT],[Defined if libcurl supports DICT]) + AH_TEMPLATE([LIBCURL_PROTOCOL_TFTP],[Defined if libcurl supports TFTP]) + AH_TEMPLATE([LIBCURL_PROTOCOL_RTSP],[Defined if libcurl supports RTSP]) + AH_TEMPLATE([LIBCURL_PROTOCOL_POP3],[Defined if libcurl supports POP3]) + AH_TEMPLATE([LIBCURL_PROTOCOL_IMAP],[Defined if libcurl supports IMAP]) + AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP]) + + AC_ARG_WITH(libcurl, + AC_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]), + [_libcurl_with=$withval],[_libcurl_with=ifelse([$1],,[yes],[$1])]) + + if test "$_libcurl_with" != "no" ; then + + AC_PROG_AWK + + _libcurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[[1]]+256*A[[2]]+A[[3]]; print X;}'" + + _libcurl_try_link=yes + + if test -d "$_libcurl_with" ; then + LIBCURL_CPPFLAGS="-I$withval/include" + _libcurl_ldflags="-L$withval/lib" + AC_PATH_PROG([_libcurl_config],[curl-config],[], + ["$withval/bin"]) + else + AC_PATH_PROG([_libcurl_config],[curl-config],[],[$PATH]) + fi + + if test x$_libcurl_config != "x" ; then + AC_CACHE_CHECK([for the version of libcurl], + [libcurl_cv_lib_curl_version], + [libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $[]2}'`]) + + _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse` + _libcurl_wanted=`echo ifelse([$2],,[0],[$2]) | $_libcurl_version_parse` + + if test $_libcurl_wanted -gt 0 ; then + AC_CACHE_CHECK([for libcurl >= version $2], + [libcurl_cv_lib_version_ok], + [ + if test $_libcurl_version -ge $_libcurl_wanted ; then + libcurl_cv_lib_version_ok=yes + else + libcurl_cv_lib_version_ok=no + fi + ]) + fi + + if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then + if test x"$LIBCURL_CPPFLAGS" = "x" ; then + LIBCURL_CPPFLAGS=`$_libcurl_config --cflags` + fi + if test x"$LIBCURL" = "x" ; then + LIBCURL=`$_libcurl_config --libs` + + # This is so silly, but Apple actually has a bug in their + # curl-config script. Fixed in Tiger, but there are still + # lots of Panther installs around. + case "${host}" in + powerpc-apple-darwin7*) + LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'` + ;; + esac + fi + + # All curl-config scripts support --feature + _libcurl_features=`$_libcurl_config --feature` + + # Is it modern enough to have --protocols? (7.12.4) + if test $_libcurl_version -ge 461828 ; then + _libcurl_protocols=`$_libcurl_config --protocols` + fi + else + _libcurl_try_link=no + fi + + unset _libcurl_wanted + fi + + if test $_libcurl_try_link = yes ; then + + # we didn't find curl-config, so let's see if the user-supplied + # link line (or failing that, "-lcurl") is enough. + LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"} + + AC_CACHE_CHECK([whether libcurl is usable], + [libcurl_cv_lib_curl_usable], + [ + _libcurl_save_cppflags=$CPPFLAGS + CPPFLAGS="$LIBCURL_CPPFLAGS $CPPFLAGS" + _libcurl_save_libs=$LIBS + LIBS="$LIBCURL $LIBS" + + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <curl/curl.h>]],[[ +/* Try and use a few common options to force a failure if we are + missing symbols or can't link. */ +int x; +curl_easy_setopt(NULL,CURLOPT_URL,NULL); +x=CURL_ERROR_SIZE; +x=CURLOPT_WRITEFUNCTION; +x=CURLOPT_FILE; +x=CURLOPT_ERRORBUFFER; +x=CURLOPT_STDERR; +x=CURLOPT_VERBOSE; +if (x) ; +]])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no) + + CPPFLAGS=$_libcurl_save_cppflags + LIBS=$_libcurl_save_libs + unset _libcurl_save_cppflags + unset _libcurl_save_libs + ]) + + if test $libcurl_cv_lib_curl_usable = yes ; then + + # Does curl_free() exist in this version of libcurl? + # If not, fake it with free() + + _libcurl_save_cppflags=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS" + _libcurl_save_libs=$LIBS + LIBS="$LIBS $LIBCURL" + + AC_CHECK_FUNC(curl_free,, + AC_DEFINE(curl_free,free, + [Define curl_free() as free() if our version of curl lacks curl_free.])) + + CPPFLAGS=$_libcurl_save_cppflags + LIBS=$_libcurl_save_libs + unset _libcurl_save_cppflags + unset _libcurl_save_libs + + AC_DEFINE(HAVE_LIBCURL,1, + [Define to 1 if you have a functional curl library.]) + AC_SUBST(LIBCURL_CPPFLAGS) + AC_SUBST(LIBCURL) + + for _libcurl_feature in $_libcurl_features ; do + AC_DEFINE_UNQUOTED(AS_TR_CPP(libcurl_feature_$_libcurl_feature),[1]) + eval AS_TR_SH(libcurl_feature_$_libcurl_feature)=yes + done + + if test "x$_libcurl_protocols" = "x" ; then + + # We don't have --protocols, so just assume that all + # protocols are available + _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT TFTP" + + if test x$libcurl_feature_SSL = xyes ; then + _libcurl_protocols="$_libcurl_protocols HTTPS" + + # FTPS wasn't standards-compliant until version + # 7.11.0 (0x070b00 == 461568) + if test $_libcurl_version -ge 461568; then + _libcurl_protocols="$_libcurl_protocols FTPS" + fi + fi + + # RTSP, IMAP, POP3 and SMTP were added in + # 7.20.0 (0x071400 == 463872) + if test $_libcurl_version -ge 463872; then + _libcurl_protocols="$_libcurl_protocols RTSP IMAP POP3 SMTP" + fi + fi + + for _libcurl_protocol in $_libcurl_protocols ; do + AC_DEFINE_UNQUOTED(AS_TR_CPP(libcurl_protocol_$_libcurl_protocol),[1]) + eval AS_TR_SH(libcurl_protocol_$_libcurl_protocol)=yes + done + else + unset LIBCURL + unset LIBCURL_CPPFLAGS + fi + fi + + unset _libcurl_try_link + unset _libcurl_version_parse + unset _libcurl_config + unset _libcurl_feature + unset _libcurl_features + unset _libcurl_protocol + unset _libcurl_protocols + unset _libcurl_version + unset _libcurl_ldflags + fi + + if test x$_libcurl_with = xno || test x$libcurl_cv_lib_curl_usable != xyes ; then + # This is the IF-NO path + ifelse([$4],,:,[$4]) + else + # This is the IF-YES path + ifelse([$3],,:,[$3]) + fi + + unset _libcurl_with +])dnl diff --git a/pcr/galera/PKGBUILD b/pcr/galera/PKGBUILD new file mode 100644 index 000000000..b6ba8890c --- /dev/null +++ b/pcr/galera/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Rustam Tsurik <rustam.tsurik@gmail.com> +# Contributor: Nico Suarez <nicodoggie@gmail.com> + +pkgname=galera +pkgver=25.3.2 +pkgrel=1 +pkgdesc='Galera WSREP provider' +arch=('i686' 'x86_64') +license=('GPL') +depends=('boost>=1.41' 'openssl') +makedepends=('check' 'scons' 'patch') +url='http://www.codership.com' +options=('!libtool') +source=(https://launchpad.net/galera/3.x/$pkgver/+download/galera-$pkgver-src.tar.gz) +sha256sums=('5dd54364720f8854088590bdfea1e3a7f3e37fda3dfe8a5f58ebcc987cc6788d') + +build(){ + cd "$srcdir" + cd "$pkgname-$pkgver-src" + scons +} + +package(){ + install -Dm0644 "$srcdir"/$pkgname-$pkgver-src/libgalera_smm.so "$pkgdir"/usr/lib/libgalera_smm.so + install -Dm0755 "$srcdir"/$pkgname-$pkgver-src/garb/garbd "$pkgdir"/usr/bin/garbd + install -Dm0644 "$srcdir"/$pkgname-$pkgver-src/scripts/packages/README "$pkgdir"/usr/share/doc/galera/README + install -m0644 "$srcdir"/$pkgname-$pkgver-src/scripts/packages/README-MySQL "$pkgdir"/usr/share/doc/galera/README-MySQL + install -m0644 "$srcdir"/$pkgname-$pkgver-src/COPYING "$pkgdir"/usr/share/doc/galera/COPYING +} diff --git a/pcr/gimp-pcr/PKGBUILD b/pcr/gimp-pcr/PKGBUILD new file mode 100644 index 000000000..75b54f27a --- /dev/null +++ b/pcr/gimp-pcr/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: PKGBUILD 198811 2013-11-05 16:40:29Z bpiotrowski $ +# Maintainer: Daniel Isenmann <daniel@archlinux.org> + +_pkgname=gimp +pkgname=$_pkgname-pcr +pkgver=2.8.10 +pkgrel=1 +pkgdesc="GNU Image Manipulation Program" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.gimp.org/" +license=('GPL' 'LGPL') +depends=('pygtk' 'lcms' 'libxpm' 'libwmf' 'libxmu' 'librsvg' 'libmng' 'dbus-glib' \ + 'libexif' 'gegl' 'jasper' 'desktop-file-utils' 'hicolor-icon-theme' 'babl') +makedepends=('intltool' 'webkitgtk2' 'poppler-glib' 'alsa-lib' 'iso-codes' 'curl' 'ghostscript') +optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cups print support' + 'webkitgtk2: for the help browser' + 'poppler-glib: for pdf support' + 'alsa-lib: for MIDI event controller module' + 'curl: for URI support' + 'ghostscript: for postscript support') +options=('!makeflags') +provides=("$_pkgname") +conflicts=('gimp-devel' "$_pkgname") +install=gimp.install +source=(ftp://ftp.gimp.org/pub/gimp/v${pkgver%.*}/${_pkgname}-${pkgver}.tar.bz2 gnu.gpl + uri-backend-libcurl.patch) +md5sums=('84c964aab7044489af69f7319bb59b47' + '2d823a7e7cd7f99b681943e42bfb7d40' + 'e894f4b2ffa92c71448fdd350e9b78c6') + +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + # fixing freetype header path file + sed -i "s|freetype/tttables[.]h|freetype2/tttables.h|" app/text/${_pkgname}font.c +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + #patch -p1 < ../uri-backend-libcurl.patch + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --enable-mp --enable-gimp-console --enable-gimp-remote \ + --enable-python --with-gif-compression=lzw --with-libcurl \ + --without-aa --without-hal --without-gvfs --without-gnomevfs + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' "${pkgdir}"/usr/lib/gimp/2.0/plug-ins/*.py + install -D -m644 "${srcdir}/gnu.gpl" "${pkgdir}/usr/share/gimp/2.0/palettes/GNU.gpl" + + rm "${pkgdir}/usr/share/man/man1/gimp-console.1" + ln -s gimp-console-${pkgver%.*}.1.gz "${pkgdir}/usr/share/man/man1/gimp-console.1.gz" + ln -s gimptool-2.0 "${pkgdir}/usr/bin/gimptool" + ln -sf gimptool-2.0.1.gz "${pkgdir}/usr/share/man/man1/gimptool.1.gz" +} diff --git a/pcr/gimp-pcr/gimp.install b/pcr/gimp-pcr/gimp.install new file mode 100644 index 000000000..c317fbaca --- /dev/null +++ b/pcr/gimp-pcr/gimp.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/gimp-pcr/gnu.gpl b/pcr/gimp-pcr/gnu.gpl new file mode 100644 index 000000000..e7ce2b288 --- /dev/null +++ b/pcr/gimp-pcr/gnu.gpl @@ -0,0 +1,19 @@ +GIMP Palette +Name: gnu +# + 0 0 0 + 0 0 170 + 0 170 0 + 0 170 170 +170 0 0 +170 0 170 +170 85 0 +170 170 170 + 85 85 85 + 85 85 255 + 85 255 85 + 85 255 255 +255 85 85 +255 85 255 +255 255 85 +255 255 255 diff --git a/pcr/gimp-pcr/uri-backend-libcurl.patch b/pcr/gimp-pcr/uri-backend-libcurl.patch new file mode 100644 index 000000000..85da2fc7f --- /dev/null +++ b/pcr/gimp-pcr/uri-backend-libcurl.patch @@ -0,0 +1,77 @@ +diff -aur gimp-2.6.11/plug-ins/file-uri/uri-backend-libcurl.c gimp-2.6.11.patched/plug-ins/file-uri/uri-backend-libcurl.c +--- gimp-2.6.11/plug-ins/file-uri/uri-backend-libcurl.c 2010-07-03 00:51:59.000000000 +0200 ++++ gimp-2.6.11.patched/plug-ins/file-uri/uri-backend-libcurl.c 2011-06-23 19:15:30.000000000 +0200 +@@ -4,9 +4,9 @@ + * libcurl backend for the URI plug-in + * Copyright (C) 2006 Mukund Sivaraman <muks@mukund.org> + * +- * This program is free software; you can redistribute it and/or modify ++ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or ++ * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, +@@ -15,8 +15,7 @@ + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++ * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + #include "config.h" +@@ -24,7 +23,6 @@ + #include <errno.h> + + #include <curl/curl.h> +-#include <curl/types.h> + #include <curl/easy.h> + + #include <glib/gstdio.h> +@@ -63,7 +61,7 @@ + + vinfo = curl_version_info (CURLVERSION_NOW); + +- protocols = g_string_new ("http:,ftp:"); ++ protocols = g_string_new ("http:,ftp:,gopher:"); + + if (vinfo->features & CURL_VERSION_SSL) + { +@@ -153,7 +151,7 @@ + FILE *out_file; + CURL *curl_handle; + CURLcode result; +- gint response_code; ++ glong response_code; + + gimp_progress_init (_("Connecting to server")); + +@@ -195,12 +193,12 @@ + + curl_easy_getinfo (curl_handle, CURLINFO_RESPONSE_CODE, &response_code); + +- if (response_code != 200) ++ if (response_code != 200 && response_code != 226 && response_code != 0) + { + fclose (out_file); + g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_FAILED, + _("Opening '%s' for reading resulted in HTTP " +- "response code: %d"), ++ "response code: %ld"), + uri, response_code); + curl_easy_cleanup (curl_handle); + return FALSE; +@@ -224,3 +222,10 @@ + + return FALSE; + } ++ ++gchar * ++uri_backend_map_image (const gchar *uri, ++ GimpRunMode run_mode) ++{ ++ return NULL; ++} diff --git a/pcr/git-remote-mediawiki/PKGBUILD b/pcr/git-remote-mediawiki/PKGBUILD new file mode 100644 index 000000000..8fb47724a --- /dev/null +++ b/pcr/git-remote-mediawiki/PKGBUILD @@ -0,0 +1,31 @@ +pkgname=git-remote-mediawiki +url=https://github.com/moy/Git-Mediawiki/wiki +license=('GPL') # GPLv2+ +pkgdesc="Support for MediaWiki remotes in git" + +pkgver=1.8.5.1 +pkgrel=2 +arch=('any') +depends=( + git + perl-datetime-format-iso8601 + perl-html-tree + perl-lwp-protocol-https + perl-mediawiki-api +) + +_symlink() { + local src=$1 + local dst=$2 + mkdir -p "${pkgdir}/${dst%/*}" + ln -s "$(realpath "$src" --relative-to="${dst%/*}")" "${pkgdir}/${dst}" +} + +package() { + _mwdir=/usr/share/git/mw-to-git + _perldir=/usr/share/perl5/vendor_perl + _gitdir=/usr/lib/git-core + _symlink ${_mwdir}/Git/Mediawiki.pm ${_perldir}/Git/Mediawiki.pm + _symlink ${_mwdir}/git-mw.perl ${_gitdir}/git-mw + _symlink ${_mwdir}/git-remote-mediawiki.perl ${_gitdir}/git-remote-mediawiki +} diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD index 2293b6375..ba7639b90 100644 --- a/pcr/gnuhealth/PKGBUILD +++ b/pcr/gnuhealth/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: SpepS <dreamspepser at yahoo dot it> pkgname=gnuhealth -pkgver=2.2.1 +pkgver=2.2.2 pkgrel=1 pkgdesc="A free Health and Hospital Information System" arch=any @@ -20,25 +20,26 @@ depends=( python2-pywebdav python2-qrcode python2-vobject - trytond - trytond-account-invoice - trytond-calendar - trytond-country - trytond-stock-lot + "trytond>=3.0" + "trytond-account-invoice>=3.0" + "trytond-calendar>=3.0" + "trytond-country>=3.0" + "trytond-stock-lot>=3.0" ) source=http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz -sha512sums=9a7ccc71b5cba8e71adaea1d811ef4d68d72a1b3d7493721d68b2bb04f5eb808c659bf74e4f5859c9509be4843b4cae3cc4511422fb3cdc64b5a903507ca364a +sha512sums=45e6965b583c08c3a457dc733274253f5ff66fa5760509d42291271e4b6237f1b34829f0403235d8a457d1236c8ffec3f22b7495859cbe399abc8f3f71556c0e package() { MODULES=( - health - health_calendar + health + health_calendar health_genetics health_gyneco - health_history + health_history health_icd10 health_icd10pcs health_icu + health_imaging health_inpatient health_inpatient_calendar health_lab @@ -46,6 +47,7 @@ package() { health_mdg6 health_ntd health_ntd_chagas + health_ntd_dengue health_nursing health_pediatrics health_profile diff --git a/pcr/hunspell-pt-br/PKGBUILD b/pcr/hunspell-pt-br/PKGBUILD index a15ddda78..0ae4e4e76 100644 --- a/pcr/hunspell-pt-br/PKGBUILD +++ b/pcr/hunspell-pt-br/PKGBUILD @@ -4,15 +4,15 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=hunspell-pt-br -pkgver=3.0 -pkgrel=3 +pkgver=3.2 +pkgrel=1 pkgdesc="Portuguese (Brazil) dictionary" arch=(any) url="http://pt-br.libreoffice.org/projetos/projeto-vero-verificador-ortografico" -license=('LGPLv3') +license=('LGPLv3' 'MPL') optdepends=('hunspell: the spell checking libraries and apps') -source=(http://pt-br.libreoffice.org/assets/VeroptBRV300AOG.oxt) -md5sums=('96e05c7b7df97e2d1ce57ff736063bdf') +source=(http://pt-br.libreoffice.org/assets/VeroptBRV320AOG.oxt) +md5sums=('3b2f7291d486435cf6706b55e02da5b6') package() { install -D -m644 ${srcdir}/pt_BR.dic ${pkgdir}/usr/share/hunspell/pt_BR.dic diff --git a/pcr/libav/PKGBUILD b/pcr/libav/PKGBUILD index c0fb9e062..2d5c09ec0 100644 --- a/pcr/libav/PKGBUILD +++ b/pcr/libav/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Márcio Silva <coadde@lavabit.com> pkgname=libav -pkgver=9.8 -pkgrel=3 +pkgver=9.10 +pkgrel=1 pkgdesc="Complete and free Internet live audio and video broadcasting solution for GNU/Linux" arch=( mips64el @@ -15,6 +15,7 @@ depends=( alsa-lib bzip2 freetype2 + gnutls gsm lame libpulse @@ -38,7 +39,7 @@ makedepends=( libvdpau ) source=http://$pkgname.org/releases/$pkgname-$pkgver.tar.gz -sha512sums=ef7c164fb29d365a236ead927e6355ca9191203dce86f0d0d8251f275ed5be4ab5e3f56a0c51384d7b9e83c3c3ef7ebdee95c9a7ac7b6520eaf25973a2bd20ae +sha512sums=88bbe82fc3edfde17339cbd5fbae5ab074e750ad750fafcabc2c1fa408f352e38f32d8c0df0ff6c926d449bff29c725fc2c219d8b6e0398e3b93d43f086c9f10 build() { cd $pkgname-$pkgver @@ -53,9 +54,8 @@ build() { else _asm='--disable-asm' fi - [[ $_static == false ]] && _stf='--disable-static' ./configure\ - $_asm $_stf\ + $_asm\ --prefix=/usr\ --bindir=/opt/$pkgname/bin\ --incdir=/opt/$pkgname/include\ @@ -63,14 +63,16 @@ build() { --shlibdir=/opt/$pkgname/lib\ --disable-avserver\ --disable-debug\ + --disable-static\ --enable-avresample\ --enable-dxva2\ + --enable-gnutls\ --enable-gpl\ --enable-libfreetype\ --enable-libgsm\ --enable-libmp3lame\ - --enable-libopencore_amrnb\ - --enable-libopencore_amrwb\ + --enable-libopencore-amrnb\ + --enable-libopencore-amrwb\ --disable-libopenjpeg\ --enable-libopus\ --enable-libpulse\ @@ -90,7 +92,7 @@ build() { --enable-x11grab make make tools/qt-faststart - make doc/av{conv,play}.1 # doc/avserver.1 + make doc/av{conv,play}.1 } package() { diff --git a/pcr/libdrm-nvfx/COPYING b/pcr/libdrm-nvfx/COPYING new file mode 100644 index 000000000..6e74c337c --- /dev/null +++ b/pcr/libdrm-nvfx/COPYING @@ -0,0 +1,48 @@ + Copyright 2005 Adam Jackson. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation on the rights to use, copy, modify, merge, + publish, distribute, sub license, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice (including the + next paragraph) shall be included in all copies or substantial + portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------ + + Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. + Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. + All Rights Reserved. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice (including the + next paragraph) shall be included in all copies or substantial + portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS + SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. diff --git a/pcr/libdrm-nvfx/PKGBUILD b/pcr/libdrm-nvfx/PKGBUILD new file mode 100644 index 000000000..c8a08bea4 --- /dev/null +++ b/pcr/libdrm-nvfx/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 198149 2013-10-30 13:05:35Z allan $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu> + +_pkgname=libdrm +pkgname=libdrm-nvfx +pkgver=2.4.33 +pkgrel=4 +pkgdesc="Userspace interface to kernel DRM services for Nouveau NVFX [NV30 and NV40] (GeForce FX - 7000 series card) video card family" +arch=(i686 x86_64 mips64el) +license=('custom') +depends=('glibc' 'libpciaccess') +makedepends=('valgrind' 'clang') +provides=('libdrm') +conflicts=('libdrm') +checkdepends=('cairo') +options=('!libtool') +url="http://dri.freedesktop.org/" +source=(http://dri.freedesktop.org/$_pkgname/$_pkgname-$pkgver.tar.bz2 + COPYING) +sha256sums=('2d7b9d94ada0e3a6ede6243509883df2ded01c2983e24322759a366283898fea' + '9631d4f694952e3e6ae5a05534c2e93e994e47d3413677a3a00e45c8cef6db93') + +build() { + cd $_pkgname-$pkgver + + # pthread is useless in Linux + sed -i "/pthread-stubs/d" configure.ac + autoreconf --force --install + + # gcc 4.8 introduces graphic corruption and X crashes with nouveau cards (nv44) + # http://gcc.gnu.org/ml/gcc-help/2013-07/msg00103.html + # we use clang compiler meanwhile + export CC=clang + + ./configure --prefix=/usr --enable-udev \ + --enable-nouveau-experimental-api \ + --enable-libkms --disable-intel --disable-radeon + + make +} + +check() { + cd $_pkgname-$pkgver + make -k check +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install + + install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" + install -m644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/" +} diff --git a/pcr/libixp-hg/PKGBUILD b/pcr/libixp-hg/PKGBUILD new file mode 100644 index 000000000..3642535d1 --- /dev/null +++ b/pcr/libixp-hg/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname="libixp-hg" +pkgver=148 +pkgdesc="A 9p client/server library" +url="http://libs.suckless.org/libixp" +license=("MIT") + +provides=("libixp") +conflicts=("libixp") + +pkgrel=1 +arch=("i686" "x86_64") +makedepends=("txt2tags") +options=(staticlibs) + +source=("libre://${pkgname}-${pkgver}.tar.gz") +md5sums=('5a2fd075108558b39988610d2bb184d9') + +mkdepends=("mercurial") +mksource=("$pkgname-$pkgver::hg+https://code.google.com/p/libixp/#revision=${pkgver}") +mkmd5sums=('SKIP') +mksource() { + # don't include this precompiled binary (probably included by accident) + rm "${srcdir}/${pkgname}-${pkgver}/test/o.client" +} + +_makeflags=("PREFIX=/usr" "ETC=/etc") +build() { + cd "$srcdir/$pkgname-$pkgver" + make "${_makeflags[@]}" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make "${_makeflags[@]}" DESTDIR="$pkgdir" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/pcr/libquvi-scripts-current/PKGBUILD b/pcr/libquvi-scripts-current/PKGBUILD index 2c480bd45..b03b2935e 100644 --- a/pcr/libquvi-scripts-current/PKGBUILD +++ b/pcr/libquvi-scripts-current/PKGBUILD @@ -4,7 +4,7 @@ pkgname=libquvi-scripts-current _pkgname=libquvi-scripts provides=(libquvi-scripts) -pkgver=0.9.20131012 +pkgver=0.9.20131130 pkgrel=1 pkgdesc='Library for parsing video download links.' arch=('any') @@ -24,5 +24,5 @@ package() { cd "${_pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } -md5sums=('bd11a7946212b3e42f11c69afacc371a' +md5sums=('46ddfd887260a515199c2e1ba8c46d8a' 'SKIP') diff --git a/pcr/litecoin-qt/PKGBUILD b/pcr/litecoin-qt/PKGBUILD new file mode 100644 index 000000000..28aaf2c0c --- /dev/null +++ b/pcr/litecoin-qt/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Loïc Guitaut <flink at belfalas dot eu> + +pkgname='litecoin-qt' +pkgver=0.8.6.1 +pkgrel=2 +arch=('i686' 'x86_64') +url="http://www.litecoin.org/" +makedepends=('boost' 'automoc4' 'qrencode' 'miniupnpc') +license=('MIT') +pkgdesc="Peer-to-peer network based digital currency (QT)" +depends=(boost-libs qt4 miniupnpc qrencode) +conflicts=(litecoin) +install=litecoin-qt.install +source=("https://github.com/litecoin-project/litecoin/archive/v$pkgver.tar.gz" + "$pkgname.desktop") +sha256sums=('8aef9e936b57b90d506c5dd2e350c3d0673640b69beb9975d172136eec1d8b34' + 'cfc53dc9028745358235698ddd562d3e6b4a3ea9f896f5efc1aa8cd81f595559') + +build() { + cd "$srcdir/litecoin-$pkgver" + + # and make qt gui + qmake-qt4 USE_QRCODE=1 USE_UPNP=1 + make +} + + +package() { + install -Dm644 litecoin-qt.desktop "$pkgdir"/usr/share/applications/litecoin.desktop + cd "$srcdir/litecoin-$pkgver" + install -Dm755 litecoin-qt "$pkgdir"/usr/bin/litecoin-qt + install -Dm644 share/pixmaps/bitcoin128.png "$pkgdir"/usr/share/pixmaps/litecoin128.png + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + diff --git a/pcr/litecoin-qt/litecoin-qt.desktop b/pcr/litecoin-qt/litecoin-qt.desktop new file mode 100644 index 000000000..d3b9b365f --- /dev/null +++ b/pcr/litecoin-qt/litecoin-qt.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Litecoin +Comment=Litecoin P2P Cryptocurrency +Comment[fr]=Litecoin, monnaie virtuelle cryptographique pair à pair +Comment[tr]=Litecoin, eşten eşe kriptografik sanal para birimi +Exec=/usr/bin/litecoin-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/litecoin128.png +MimeType=x-scheme-handler/litecoin; +Categories=Office; diff --git a/pcr/litecoin-qt/litecoin-qt.install b/pcr/litecoin-qt/litecoin-qt.install new file mode 100644 index 000000000..f98ba7338 --- /dev/null +++ b/pcr/litecoin-qt/litecoin-qt.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/pcr/lostfiles/PKGBUILD b/pcr/lostfiles/PKGBUILD new file mode 100644 index 000000000..acc8ddd64 --- /dev/null +++ b/pcr/lostfiles/PKGBUILD @@ -0,0 +1,17 @@ +# Contributor: graysky <graysky AT archlinux dot us> + +pkgname=lostfiles +pkgver=3.07 +pkgrel=1 +pkgdesc='Find orphan files - those not owned by any Arch packages.' +arch=('any') +license=('GPL2') +depends=('bash') +url="https://github.com/graysky2/lostfiles" +source=("https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz") +sha256sums=('970d35a619043471067d58a6702443d5e7b9ab9ead96c37ae0811ecb11d2424d') + +package() { + cd "$pkgname-$pkgver" + install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname" +} diff --git a/pcr/lprof/PKGBUILD b/pcr/lprof/PKGBUILD new file mode 100644 index 000000000..b25927937 --- /dev/null +++ b/pcr/lprof/PKGBUILD @@ -0,0 +1,44 @@ +# Contributor: Branko Vukelic <bg.branko@gmail.com> +# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +pkgname=lprof +pkgver=1.11.4.1 +pkgrel=3 +arch=(i686 x86_64 mips64el) +pkgdesc="Imaging device calibration tool" +url="http://lprof.sourceforge.net/" +license="GPL" +depends=('qt3' 'lcms>=1.12' 'vigra>=1.3') +makedepends=('python>=1.53' 'scons') +source=(http://downloads.sourceforge.net/lprof/${pkgname}-${pkgver}.tar.gz + lcms-117.patch) +md5sums=('2177c77c24aa10db9b7681d264735ea9' + '5ce946c711462428a10116065647c823') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p0<../lcms-117.patch + sed -i "s/'tiff'/'tiff','png'/" SConstruct || return 1 + sed -i "s|'moc'|'moc-qt3'|" SConstruct || return 1 + sed -i "s|'uic'|'uic-qt3'|" SConstruct || return 1 + sed -i "s|qtdir, 'lib'|qtdir, 'lib', 'qt3'| + s|qtdir, 'include'|qtdir, 'include', 'qt3'| + " SConstruct || return 1 + sed -i "s|qmake|qmake-qt3| + s|lrelease|lrelease-qt3| + s|lupdate|lupdate-qt3| + " {createtrans,comptrans}.sh + rm -rf scons* +} + +build() { + cd ${pkgname}-${pkgver} + scons PREFIX=/usr qt_directory=/usr || return 1 +} + +package() { + cd ${pkgname}-${pkgver} + install -d ${pkgdir}/usr + scons PREFIX=${pkgdir}/usr install +} diff --git a/pcr/lprof/lcms-117.patch b/pcr/lprof/lcms-117.patch new file mode 100644 index 000000000..55afdfbb8 --- /dev/null +++ b/pcr/lprof/lcms-117.patch @@ -0,0 +1,12 @@ +--- src/liblprof/lcmsprf.h.bak 2007-08-31 15:36:20.000000000 -0700 ++++ src/liblprof/lcmsprf.h 2007-08-31 15:37:39.000000000 -0700 +@@ -67,6 +67,9 @@ + #define mmax(a,b) ((a) > (b)?(a):(b)) + #endif + ++#if LCMS_VERSION > 116 ++typedef int BOOL; ++#endif + + /* Misc operations ------------------------------------------------------------------------ */ + diff --git a/pcr/mariadb-galera/PKGBUILD b/pcr/mariadb-galera/PKGBUILD new file mode 100644 index 000000000..920137305 --- /dev/null +++ b/pcr/mariadb-galera/PKGBUILD @@ -0,0 +1,107 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> + +pkgname=mariadb-galera +pkgbase=mariadb-galera +pkgver=5.5.33a +_pkgver=${pkgver/.a/a} +pkgrel=1 +arch=('i686' 'x86_64') +license=('GPL') +url='https://mariadb.com/kb/en/galera/' +pkgdesc='Fast SQL database server, drop-in replacement for MySQL with Galera Cluster' +backup=('etc/mysql/my.cnf') +install=mariadb.install +depends=('mariadb-clients' 'inetutils' 'libaio' 'galera') +conflicts=('mysql') +provides=("mysql=$pkgver" "mariadb") +options=('emptydirs') +makedepends=('cmake' 'openssl' 'zlib' 'libaio') +source=(http://ftp.wa.co.za/pub/mariadb/${pkgname}-${pkgver}/kvm-tarbake-jaunty-x86/${pkgname}-${pkgver}.tar.gz + mariadb.service + mariadb-post.sh + mariadb-tmpfile.conf) +sha256sums=('1b49e41e677d95f7a5b548771a81c6430ec6f0ee16e7ee624fb2fe2b278183b8' + 'a6cf5446159fff16598d0d787dd3a3c30a53a656a5f876ddb608bc60e234d334' + '368f9fd2454d80eb32abb8f29f703d1cf9553353fb9e1ae4529c4b851cb8c5dd' + '2af318c52ae0fe5428e8a9245d1b0fc3bc5ce153842d1563329ceb1edfa83ddd') + +prepare() { + mkdir build +} + +build() { + cd build + + cmake ../mariadb-$pkgver \ + -DBUILD_CONFIG=mysql_release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc/mysql \ + -DMYSQL_DATADIR=/var/lib/mysql \ + -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \ + -DDEFAULT_CHARSET=utf8 \ + -DDEFAULT_COLLATION=utf8_general_ci \ + -DENABLED_LOCAL_INFILE=ON \ + -DINSTALL_INFODIR=share/mysql/docs \ + -DINSTALL_MANDIR=share/man \ + -DINSTALL_PLUGINDIR=lib/mysql/plugin \ + -DINSTALL_SCRIPTDIR=bin \ + -DINSTALL_INCLUDEDIR=include/mysql \ + -DINSTALL_DOCREADMEDIR=share/mysql \ + -DINSTALL_SUPPORTFILESDIR=share/mysql \ + -DINSTALL_MYSQLSHAREDIR=share/mysql \ + -DINSTALL_DOCDIR=share/mysql/docs \ + -DINSTALL_SHAREDIR=share/mysql \ + -DWITH_READLINE=ON \ + -DWITH_ZLIB=system \ + -DWITH_SSL=system \ + -DWITH_LIBWRAP=OFF \ + -DWITH_EXTRA_CHARSETS=complex \ + -DWITH_EMBEDDED_SERVER=ON \ + -DWITH_ARCHIVE_STORAGE_ENGINE=1 \ + -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \ + -DWITH_INNOBASE_STORAGE_ENGINE=1 \ + -DWITH_PARTITION_STORAGE_ENGINE=1 \ + -DWITH_TOKUDB_STORAGE_ENGINE=1 \ + -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ + -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \ + -DWITHOUT_OQGRAPH_STORAGE_ENGINE=1 \ + -DWITHOUT_PBXT_STORAGE_ENGINE=1 \ + -DCMAKE_C_FLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \ + -DCMAKE_CXX_FLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \ + -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \ + -DWITH_WSREP=ON \ + -DWITH_INNODB_DISALLOW_WRITES=1 + + + make +} + +package() { + + cd build + make DESTDIR="$pkgdir" install + + install -Dm644 "$pkgdir"/usr/share/mysql/my-medium.cnf "$pkgdir"/etc/mysql/my.cnf + install -Dm755 ../mariadb-post.sh "$pkgdir"/usr/bin/mysqld-post + install -Dm644 ../mariadb.service "$pkgdir"/usr/lib/systemd/system/mysqld.service + install -Dm644 ../mariadb-tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/mysql.conf + + # provided by libmariadbclient + cd "$pkgdir" + rm -f usr/bin/{mysql_config,mysql_client_test_embedded,mysqltest_embedded} + rm -f usr/lib/libmysql* + rm -rf usr/include/ + rm -f usr/share/man/man1/{mysql_config,mysql_client_test_embedded,mysqltest_embedded}.1 + + # provided by mariadb-clients + rm -f usr/bin/{mysql,mysqladmin,mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap} + rm -f usr/share/man/man1/{mysql,mysqladmin,mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap}.1 + + # provided by mytop + rm -f usr/bin/mytop + + # not needed + rm -rf usr/{data,mysql-test,sql-bench} + rm -f usr/share/man/man1/mysql-test-run.pl.1 +} diff --git a/pcr/mariadb-galera/mariadb-post.sh b/pcr/mariadb-galera/mariadb-post.sh new file mode 100644 index 000000000..c4ac18171 --- /dev/null +++ b/pcr/mariadb-galera/mariadb-post.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +while true; do + response=$(/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1) && break + echo "$response" | grep -q "mysqld is alive" && break + echo "$response" | grep -q "Access denied for user" && break + sleep 1 +done diff --git a/pcr/mariadb-galera/mariadb-tmpfile.conf b/pcr/mariadb-galera/mariadb-tmpfile.conf new file mode 100644 index 000000000..6883dc798 --- /dev/null +++ b/pcr/mariadb-galera/mariadb-tmpfile.conf @@ -0,0 +1 @@ +d /run/mysqld 0755 mysql mysql - diff --git a/pcr/mariadb-galera/mariadb.install b/pcr/mariadb-galera/mariadb.install new file mode 100644 index 000000000..7d3c2ce5c --- /dev/null +++ b/pcr/mariadb-galera/mariadb.install @@ -0,0 +1,47 @@ +if [[ $(command -v my_print_defaults >/dev/null 2>&1) ]]; then + datadir=$(my_print_defaults mysqld | sed -n "s/^--datadir=//p") +fi +[[ -z $datadir ]] && datadir=/var/lib/mysql + +post_install(){ + groupadd -g 89 mysql &>/dev/null + useradd -u 89 -g mysql -d $datadir -s /bin/false mysql &>/dev/null + + if [[ ! -e $datadir ]]; then + install -dm700 $datadir + usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=$datadir + chown -R mysql:mysql var/lib/mysql &>/dev/null + fi + + usr/bin/systemd-tmpfiles --create mysql.conf + + echo ">> If you are migrating from MySQL, don't forget to run 'mysql_upgrade'" + echo " after mysqld.service restart." +} + +post_upgrade(){ + getent group mysql >/dev/null 2>&1 || groupadd -g 89 mysql &>/dev/null + getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d $datadir -s /bin/false mysql &>/dev/null + + if [[ "$(vercmp $2 5.5.25-4)" -lt 0 ]] && [[ -d /data ]]; then + for x in data/*; do + cp -r $x $datadir/ + done + rm -rf data + fi + + if [[ "$(vercmp $2 5.5.25-5)" -lt 0 ]]; then + echo ">> mysql.service has been renamed to mysqld.service to keep" + echo " consistency with MySQL package." + fi +} + +post_remove(){ + if getent passwd mysql >/dev/null 2>&1; then + userdel mysql + + fi + if getent group mysql >/dev/null 2>&1; then + groupdel mysql + fi +} diff --git a/pcr/mariadb-galera/mariadb.service b/pcr/mariadb-galera/mariadb.service new file mode 100644 index 000000000..dd65511d7 --- /dev/null +++ b/pcr/mariadb-galera/mariadb.service @@ -0,0 +1,16 @@ +[Unit] +Description=MariaDB database server +After=syslog.target + +[Service] +User=mysql +Group=mysql + +ExecStart=/usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid +ExecStartPost=/usr/bin/mysqld-post + +Restart=always +PrivateTmp=true + +[Install] +WantedBy=multi-user.target diff --git a/pcr/mathjax/PKGBUILD b/pcr/mathjax/PKGBUILD index 779aa5a74..2bdc6ec67 100644 --- a/pcr/mathjax/PKGBUILD +++ b/pcr/mathjax/PKGBUILD @@ -1,19 +1,20 @@ -# Maintainer (Arch): Tianjiao Yin <ytj000@gmail.com> -# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com> -#taken from https://aur.archlinux.org/packages/mathjax/ +# Maintainer: Kevin Dodd <jesin00@gmail.com> +# Contributor: Tianjiao Yin <ytj000@gmail.com> pkgname=mathjax -pkgver=2.2 +pkgver=2.3 pkgrel=2 pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers' url='http://www.mathjax.org/' arch=('any') -license=('apache') -options=('!strip') -source=('https://github.com/mathjax/MathJax/archive/v2.2.tar.gz') +license=('Apache') +options=(!strip libtool staticlibs) +source=("https://github.com/mathjax/MathJax/archive/v${pkgver}.tar.gz") +sha256sums=('0cd8f6de29b6c686550098119ab5301bdf60b03aeb8f9f2058e2832a0662687b') -build() { - mkdir -p $pkgdir/usr/share - mv $srcdir/MathJax-* $pkgdir/usr/share/mathjax +package() { + mkdir -p "$pkgdir/usr/share/fonts" + mv "$srcdir/MathJax-$pkgver" "$pkgdir/usr/share/mathjax" + ln -s '../mathjax/fonts' "$pkgdir/usr/share/fonts/mathjax" } -md5sums=('9e3ace5d926be939befb9bc79138a6f8') + diff --git a/pcr/md5deep/PKGBUILD b/pcr/md5deep/PKGBUILD new file mode 100755 index 000000000..fe1acb7bd --- /dev/null +++ b/pcr/md5deep/PKGBUILD @@ -0,0 +1,45 @@ +# Contributor: billycongo <billycongo@gmail.com> +# Maintainer: dkaylor <dpkaylor@gmail.com> + +pkgname=md5deep +pkgver=4.3 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc="Advanced checksum hashing tool" +url="http://md5deep.sourceforge.net" +license=('Public Domain') + +# Copyright and license stuff: +# +# This program is a work of the US Government. +# In accordance with 17 USC 105, copyright protection is not available for any work of the US Government. +# This program is PUBLIC DOMAIN. Portions of this program contain code that is licensed under the terms of the General Public License (GPL). +# Those portions retain their original copyright and license. See the file COPYING for more details. +# There is NO warranty for this program; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# md5deep was originally developed by Jesse Kornblum <research (a t) jessekornblum ,,dot. com> during his service as a +# Special Agent with the United States Air Force Office of Special Investigations (AFOSI). +# As such, md5deep exists in the public domain under 17 USC 105. + +depends=('glibc') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") + +md5sums=('f172e686ca1df83a53308ad90f7f706d') +sha1sums=('b9dd6444f07c9fc344ebef201baebdf71bda337f') +sha256sums=('905bcf8bddf0e7e2650b280d5e7af8cb8cd41dad4f299751dfec397dcb4f8d54') +sha512sums=('fe1240e6ae039b18d35a9de0cf15fb77eaac9d5505b6b550eb32858bf6d603f8186de06114d40325d5071640f46cec70795e9c192fa7b6ca9022a12c212a9b14') + + + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR=$pkgdir install +} diff --git a/pcr/mesa-nvfx/LICENSE b/pcr/mesa-nvfx/LICENSE new file mode 100644 index 000000000..ae33d2709 --- /dev/null +++ b/pcr/mesa-nvfx/LICENSE @@ -0,0 +1,82 @@ +Disclaimer + +Mesa is a 3-D graphics library with an API which is very similar to +that of OpenGL* +To the extent that Mesa utilizes the OpenGL command syntax or state +machine, it is being used with authorization from Silicon Graphics, +Inc.(SGI). However, the author does not possess an OpenGL license +from SGI, and makes no claim that Mesa is in any way a compatible +replacement for OpenGL or associated with SGI. Those who want a +licensed implementation of OpenGL should contact a licensed +vendor. + +Please do not refer to the library as MesaGL (for legal +reasons). It's just Mesa or The Mesa 3-D graphics +library + +* OpenGL is a trademark of Silicon Graphics Incorporated. + +License / Copyright Information + +The Mesa distribution consists of several components. Different copyrights +and licenses apply to different components. For example, GLUT is copyrighted +by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa +device drivers are copyrighted by their authors. See below for a list of +Mesa's main components and the license for each. + +The core Mesa library is licensed according to the terms of the MIT license. +This allows integration with the XFree86, Xorg and DRI projects. + +The default Mesa license is as follows: + +Copyright (C) 1999-2007 Brian Paul All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Attention, Contributors + +When contributing to the Mesa project you must agree to the licensing terms +of the component to which you're contributing. +The following section lists the primary components of the Mesa distribution +and their respective licenses. + + +Mesa Component Licenses + +Component Location Primary Author License +---------------------------------------------------------------------------- +Main Mesa code src/mesa/ Brian Paul Mesa (MIT) + +Device drivers src/mesa/drivers/* See drivers See drivers + +Ext headers include/GL/glext.h SGI SGI Free B + include/GL/glxext.h + +GLUT src/glut/ Mark Kilgard Mark's copyright + +Mesa GLU library src/glu/mesa/ Brian Paul GNU-LGPL + +SGI GLU library src/glu/sgi/ SGI SGI Free B + +demo programs progs/demos/ various see source files + +X demos progs/xdemos/ Brian Paul see source files + +SGI demos progs/samples/ SGI SGI copyright + +RedBook demos progs/redbook/ SGI SGI copyright diff --git a/pcr/mesa-nvfx/PKGBUILD b/pcr/mesa-nvfx/PKGBUILD new file mode 100644 index 000000000..4caacabf8 --- /dev/null +++ b/pcr/mesa-nvfx/PKGBUILD @@ -0,0 +1,129 @@ +# $Id: PKGBUILD 198319 2013-10-30 14:08:41Z allan $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu> + +pkgbase=mesa-nvfx +pkgname=('nouveau-nvfx-dri' 'svga-nvfx-dri' 'mesa-nvfx' 'mesa-nvfx-libgl') +pkgver=8.0.5 +pkgrel=3 +arch=('i686' 'x86_64' 'mips64el') +makedepends=('python2' 'libxml2' 'libx11' 'glproto' 'libdrm-nvfx' 'dri2proto' 'libxxf86vm' 'libxdamage' + 'libvdpau' 'elfutils' 'systemd' 'imake') +url="http://mesa3d.sourceforge.net" +license=('custom') +source=(ftp://ftp.freedesktop.org/pub/mesa/older-versions/${pkgver::1}.x/${pkgver}/MesaLib-${pkgver}.tar.bz2 + LICENSE) +md5sums=('01305591073a76b65267f69f27d635a3' + '5c65a0fe315dd347e09b1f2826a1df5a') + +build() { + cd ${srcdir}/?esa-* + + autoreconf -vfi # our automake is far too new for their build system :) + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-dri-driverdir=/usr/lib/xorg/modules/dri \ + --with-gallium-drivers=nouveau,svga,swrast \ + --with-dri-drivers=swrast \ + --with-egl-platforms=x11,drm \ + --with-llvm-shared-libs \ + --disable-gallium-llvm \ + --enable-egl \ + --enable-gallium-egl \ + --enable-shared-glapi \ + --enable-gbm \ + --enable-glx-tls \ + --enable-dri \ + --enable-glx \ + --enable-osmesa \ + --enable-gles1 \ + --enable-gles2 \ + --enable-texture-float \ + --enable-xa \ + --enable-vdpau \ + --disable-glu + # --help + + make + + # fake installation + mkdir $srcdir/fakeinstall + make DESTDIR=${srcdir}/fakeinstall install +} + +package_nouveau-nvfx-dri() { + pkgdesc="Mesa drivers for Nouveau NVFX [NV30 and NV40] (GeForce FX - 7000 series card) video card family (without wayland support)" + optdepends=('libtxc_dxtn: S3 Texture Compressed support') + depends=("mesa-nvfx-libgl=${pkgver}") + provides=('nouveau-dri') + conflicts=('nouveau-dri') + + install -m755 -d ${pkgdir}/usr/lib/vdpau/ + mv -v ${srcdir}/fakeinstall/usr/lib/vdpau/libvdpau_nouveau.* ${pkgdir}/usr/lib/vdpau/ + + install -m755 -d ${pkgdir}/usr/lib/xorg/modules/dri + mv -v ${srcdir}/fakeinstall/usr/lib/xorg/modules/dri/nouveau_dri.so ${pkgdir}/usr/lib/xorg/modules/dri/ + + install -m755 -d ${pkgdir}/usr/lib/gallium-pipe + mv -v ${srcdir}/fakeinstall/usr/lib/gbm/pipe_nouveau* ${pkgdir}/usr/lib/gallium-pipe/ + + # vdpau drivers are buggy with nouveau NVFX, so remove them (FS#36754) + rm -rf ${pkgdir}/usr/lib/vdpau/ + + install -m755 -d "${pkgdir}/usr/share/licenses/nouveau-nvfx-dri" + install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/nouveau-nvfx-dri/" +} + +package_svga-nvfx-dri() { + pkgdesc="Gallium3D VMware guest GL driver for Nouveau NVFX [NV30 and NV40] (GeForce FX - 7000 series card family (without wayland support)" + depends=('libdrm-nvfx' 'expat') + provides=('svga-dri') + conflicts=('svga-dri') + + install -m755 -d ${pkgdir}/usr/lib/xorg/modules/dri + mv -v ${srcdir}/fakeinstall/usr/lib/xorg/modules/dri/vmwgfx_dri.so ${pkgdir}/usr/lib/xorg/modules/dri/ + + install -m755 -d ${pkgdir}/usr/lib/gallium-pipe + mv -v ${srcdir}/fakeinstall/usr/lib/gbm/pipe_vmwgfx* ${pkgdir}/usr/lib/gallium-pipe/ + + install -m755 -d "${pkgdir}/usr/share/licenses/svga-nvfx-dri" + install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/svga-nvfx-dri/" +} + +package_mesa-nvfx() { + pkgdesc="an free implementation of the OpenGL specification for Nouveau NVFX [NV30 and NV40] (GeForce FX - 7000 series card) video card family (without wayland and support)" + depends=('libdrm-nvfx' 'libvdpau' 'libxxf86vm' 'libxdamage' 'systemd' 'elfutils') + optdepends=('opengl-man-pages: for the OpenGL API man pages') + provides=('mesa' 'libegl' 'libgbm' 'libgles') + conflicts=('mesa' 'libegl' 'libgbm' 'libgles') + + mv -v ${srcdir}/fakeinstall/* ${pkgdir} + # rename libgl.so + mv ${pkgdir}/usr/lib/libGL.so.1.2 ${pkgdir}/usr/lib/mesa-libGL.so.1.2.0 + rm ${pkgdir}/usr/lib/libGL.so{,.1} + + # removing glu headers files + rm -v "${pkgdir}/usr/include/GL/glu"{,_mangle}".h" + + install -m755 -d "${pkgdir}/usr/share/licenses/mesa-nvfx" + install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-nvfx/" +} + +package_mesa-nvfx-libgl() { + pkgdesc="Mesa 3-D graphics library for Nouveau NVFX [NV30 and NV40] (GeForce FX - 7000 series card) video card family (without wayland support)" + depends=("mesa-nvfx=${pkgver}") + provides=('mesa-libgl' 'libgl') + conflicts=('mesa-libgl' 'libgl') + + install -m755 -d "${pkgdir}/usr/lib" + + ln -s mesa-libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so + ln -s mesa-libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so.1 + ln -s mesa-libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so.1.2 + ln -s mesa-libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so.1.2.0 + + install -m755 -d "${pkgdir}/usr/share/licenses/mesa-nvfx-libgl" + install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-nvfx-libgl/" +} diff --git a/pcr/ocsync/PKGBUILD b/pcr/ocsync/PKGBUILD index cde26af30..8da91f41d 100644 --- a/pcr/ocsync/PKGBUILD +++ b/pcr/ocsync/PKGBUILD @@ -15,20 +15,19 @@ _buildtype="Release" ############################################################## pkgname=ocsync -pkgver=0.90.0 +pkgver=0.90.4 pkgrel=1 pkgdesc="A file synchronizer especially designed for you, the normal user. Dependency of owncloud-client." arch=("i686" "x86_64") url="http://www.csync.org" license=('GPL2') -depends=('sqlite3' 'iniparser' 'neon') +depends=('sqlite3' 'iniparser' 'neon' 'libssh') makedepends=('cmake') -optdepends=('libssh: sftp support') provides=('csync' 'csync-owncloud') conflicts=('csync' 'csync-owncloud') backup=('etc/ocsync/ocsync.conf' 'etc/ocsync/ocsync_exclude.conf') source=("http://download.owncloud.com/download/${pkgname}-${pkgver}.tar.bz2") -md5sums=('db46cdb4c710a607dfc062ed0a413b35') +md5sums=('4724730cf7376983c06bc83133c06a3f') if [[ ! ${_buildtype} == "Release" ]] && [[ ! ${_buildtype} == "release" ]]; then options=(!strip) @@ -52,4 +51,3 @@ package() { cd ${srcdir}/${pkgname}-${pkgver}-build make DESTDIR=${pkgdir} install } -md5sums=('6f1cfe47d6a7741c6e8df8642de52c0f') diff --git a/pcr/openicc/PKGBUILD b/pcr/openicc/PKGBUILD new file mode 100644 index 000000000..8db1cf82d --- /dev/null +++ b/pcr/openicc/PKGBUILD @@ -0,0 +1,23 @@ +#Maintainer: M0Rf30 + +pkgname=openicc +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Colour management projects to share ICC related implementation details" +url="http://www.freedesktop.org/wiki/OpenIcc" +arch=('i686' 'x86_64') +depends=('xorg-server') +source=("http://downloads.sourceforge.net/project/openicc/OpenICC-Profiles/icc-profiles-$pkgname-$pkgver.tar.bz2") +license=('GPL') + +build() { + cd $srcdir/icc-profiles-$pkgname-$pkgver + ./configure --prefix=/usr + make +} +package() { + cd $srcdir/icc-profiles-$pkgname-$pkgver + make DESTDIR=$pkgdir install +} + +md5sums=('d18ed8dc5e3f6792d445af67d5f3b0d6') diff --git a/pcr/owncloud-client/PKGBUILD b/pcr/owncloud-client/PKGBUILD index ea808c1ef..a28aae986 100644 --- a/pcr/owncloud-client/PKGBUILD +++ b/pcr/owncloud-client/PKGBUILD @@ -16,7 +16,7 @@ _buildtype="Release" _name=mirall pkgname=owncloud-client -pkgver=1.4.0 +pkgver=1.4.2 pkgrel=1 pkgdesc="ownCloud client based on mirall" arch=('i686' 'x86_64') @@ -24,13 +24,12 @@ url="http://owncloud.org/" license=('GPL2') depends=('qt4' 'ocsync' 'qtkeychain' 'qtwebkit') makedepends=('cmake') -optdepends=('qtkeychain: safe password storage') provides=('mirall' 'owncloud-client') conflicts=('mirall-git') install=owncloud-client.install -backup=('etc/owncloud-client/sync-exclude.lst') +backup=('etc/ownCloud/sync-exclude.lst') source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2") -md5sums=('05a69082b4e940b4282c2b05344c143a') +md5sums=('089a9df66f31d6915a60e48ca4a027a8') if [[ ! ${_buildtype} == "Release" ]] && [[ ! ${_buildtype} == "release" ]]; then diff --git a/pcr/perl-mediawiki-api/PKGBUILD b/pcr/perl-mediawiki-api/PKGBUILD new file mode 100644 index 000000000..7aa1fb64b --- /dev/null +++ b/pcr/perl-mediawiki-api/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> +# Contributor (AUR): ryooichi <ryooichi+arch AT gmail DOT com> +# Contributor (AUR): Uwe <keksvernichter AT gmail DOT com> + +_author=EXOBUZZ +_perlmod=MediaWiki-API +pkgname=perl-mediawiki-api +pkgver=0.39 +pkgdesc="Perl interface to the MediaWiki API" +license=('GPL3') # GPLv3+ +url="http://search.cpan.org/perldoc?MediaWiki::API" + +pkgrel=1 + +depends=('perl-json-xs' 'perl-json') +arch=('any') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/${_author:0:1}/${_author:0:2}/${_author}/${_perlmod}-${pkgver}.tar.gz) +md5sums=('266b8f336241fd608b7094c830a30a55') + +build() { + cd "$srcdir/$_perlmod-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir/$_perlmod-$pkgver" + make install DESTDIR="$pkgdir/" +} diff --git a/pcr/plowshare/PKGBUILD b/pcr/plowshare/PKGBUILD index 608e13ccf..11291ef4a 100644 --- a/pcr/plowshare/PKGBUILD +++ b/pcr/plowshare/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: breakdown <breakdown(at)archlinux(dot)us> pkgname=plowshare -pkgver=snapshot_git20131009.5e55a9b +pkgver=snapshot_git20131130.3c63b19 pkgrel=1 pkgdesc="Command-line downloader and uploader for Rapidshare, Mediafire and other file sharing websites." arch=('any') @@ -31,4 +31,4 @@ package() { } # vim:set ts=2 sw=2 et: -md5sums=('cfecd42bf22712f4c410d88c9aa9cf0c') +md5sums=('1e2468cad043a7225c3092290d844163') diff --git a/pcr/python2-pywebdav/PKGBUILD b/pcr/python2-pywebdav/PKGBUILD index c5c72b22a..994bd4c4f 100644 --- a/pcr/python2-pywebdav/PKGBUILD +++ b/pcr/python2-pywebdav/PKGBUILD @@ -3,12 +3,12 @@ pkgname=python2-pywebdav pkgver=0.9.8 -pkgrel=1 +pkgrel=2 pkgdesc="A standards compliant WebDAV server and library written in Python" arch=('any') url="http://code.google.com/p/pywebdav/" license=('GPLv2') -depends=('python2' 'pyxml') +depends=('python2') conflicts=('python-pywebdav') makedepends=('python2-distribute') source=(http://pywebdav.googlecode.com/files/PyWebDAV-$pkgver.tar.gz) diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD index ee91bafb8..db2a94428 100644 --- a/pcr/python2-renpy/PKGBUILD +++ b/pcr/python2-renpy/PKGBUILD @@ -3,8 +3,8 @@ _pkgname=renpy pkgname=python2-renpy -pkgver=6.15.7 -pkgrel=2 +pkgver=6.16.2 +pkgrel=1 pkgdesc="Platform-dependant Ren'Py libraries." arch=( mips64el @@ -29,7 +29,7 @@ conflicts=( ) renplaces=python-$_pkgname source=http://www.$_pkgname.org/dl/$pkgver/$_pkgname-$pkgver-source.tar.bz2 -sha512sums=d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6 +sha512sums=fc3b40f01f2d1e820a05f90a2d85e42986aaa4840e506d18ea76a78527d2f98ca6cf832ebde3e1f996b94f4ce4b175856da913f3de7f1a9db48aba0eea84b52d build() { cd $srcdir/$_pkgname-$pkgver-source diff --git a/pcr/quvi-current/PKGBUILD b/pcr/quvi-current/PKGBUILD index 231e79658..8acfc507f 100644 --- a/pcr/quvi-current/PKGBUILD +++ b/pcr/quvi-current/PKGBUILD @@ -5,8 +5,8 @@ pkgname=quvi-current _pkgname=quvi provides=(quvi) -pkgver=0.9.4 -pkgrel=2 +pkgver=0.9.5 +pkgrel=1 pkgdesc='Command-line tool for parsing video download links.' arch=('i686' 'x86_64') url='http://quvi.sourceforge.net/' @@ -26,5 +26,5 @@ package() { cd "${_pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } -md5sums=('36ba58e00d10b38797c39c0c9e2ef663' +md5sums=('baa1d7b25e9fd173e952e27d4aa4b933' 'SKIP') diff --git a/pcr/radicale/radicale.install b/pcr/radicale/radicale.install new file mode 100644 index 000000000..2bd33ed49 --- /dev/null +++ b/pcr/radicale/radicale.install @@ -0,0 +1,10 @@ +post_install() { + useradd --create-home \ + --home-dir /srv/cal \ + --user-group \ + --system \ + --comment "Radicale" \ + --skel /dev/null \ + --shell /usr/bin/nologin \ + cal +} diff --git a/pcr/renpy/PKGBUILD b/pcr/renpy/PKGBUILD index a9f2475db..61874b5ba 100644 --- a/pcr/renpy/PKGBUILD +++ b/pcr/renpy/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> pkgname=renpy -pkgver=6.15.7 +pkgver=6.16.2 pkgrel=1 pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. This package contains both player and development tools." arch=any @@ -25,7 +25,7 @@ source=( $pkgname-launcher.sh ) sha512sums=( - d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6 + fc3b40f01f2d1e820a05f90a2d85e42986aaa4840e506d18ea76a78527d2f98ca6cf832ebde3e1f996b94f4ce4b175856da913f3de7f1a9db48aba0eea84b52d 1af85c7a0c10662bfa4c03611fed695325f5953ac0f2c913f5342b1dca22b22115f07e69d646d92a3b95f5b896283e9b1bc7fe3e0a338536b5d9d48beedae8d5 2a9302adbc6ff45e048d42487ac86e7501f90b2d393933af5d39d663a0b3707f795a04f65598e356a64809dfa0175a4ad860b355e5337ee149692c21caf339df bcb3152a88d5f913a99855e9d6fa5d0019e310ba9d55a6288d2d8b60cb6c9ab3ddf8c772dfd23a2851d52479adc2a16bd3ffe25ff7fb50d222ec1f55eaa48b09 @@ -50,7 +50,7 @@ package(){ install -vDm755 $srcdir/$pkgname-launcher.sh $pkgdir/usr/bin/$pkgname install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop - cp -va launcher $pkgname{,.py} template the_question tutorial $pkgdir/usr/share/$pkgname + cp -va launcher $pkgname{,.py} templates the_question tutorial $pkgdir/usr/share/$pkgname ln -vs $pkgname/common $pkgdir/usr/share/$pkgname/common cp -va doc/* $pkgdir/usr/share/doc/$pkgname diff --git a/pcr/ryzom-hg/PKGBUILD b/pcr/ryzom-hg/PKGBUILD index 0951e474d..2aa501159 100644 --- a/pcr/ryzom-hg/PKGBUILD +++ b/pcr/ryzom-hg/PKGBUILD @@ -2,16 +2,16 @@ # Maintainer (aur): Bjoern Bidar <theodorstormgrade@gmail.com> pkgname='ryzom-hg' -_hgver=ce26956d3a4a -pkgver=20130727 -pkgrel=7 +_hgver=923522b +pkgver=20131215 +pkgrel=3 pkgdesc="An awesome free software 3D MMORPG game" arch=('i686' 'x86_64') url="http://www.ryzom.com/" license=('AGPL3') depends=('curl' 'hicolor-icon-theme' 'libvorbis' 'libjpeg' 'libwww-hg' 'luabind' 'ryzom-data') conflicts=('ryzom') -makedepends=('mercurial' 'cpptest' 'cmake' 'bison' 'freealut' 'rrdtool' 'boost') +makedepends=('mercurial' 'cpptest' 'cmake' 'bison' 'freealut' 'rrdtool' 'boost' 'freetype2') source=("libre://$pkgname-$pkgver.tar.gz") mksource=(".$pkgname-$pkgver::hg+https://bitbucket.org/ryzom/ryzomcore#revision=${_hgver}") @@ -19,12 +19,14 @@ mksource=(".$pkgname-$pkgver::hg+https://bitbucket.org/ryzom/ryzomcore#revision= mksource() { rm -rf "$srcdir/$pkgname-$pkgver" cp -a "$srcdir/.$pkgname-$pkgver/code" "${srcdir}/${pkgname}-${pkgver}" + # some patching required... + sed -i 's|<freetype/|<freetype2/|g' "${srcdir}/${pkgname}-${pkgver}/nel/src/3d/font_generator.cpp" } build() { mkdir -p "$srcdir/build" cd "$srcdir/build" - cmake -Wno-dev "$srcdir/${pkgname}-${pkgver}" -DFINAL_VERSION=ON -DWITH_STATIC=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_TESTS=OFF -DWITH_LUA51=ON -DWITH_NEL_SAMPLES=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin + cmake -Wno-dev "$srcdir/${pkgname}-${pkgver}" -DFINAL_VERSION=ON -DWITH_STATIC=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_TESTS=OFF -DWITH_LUA51=ON -DWITH_NEL_SAMPLES=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin -DFREETYPE_INCLUDE_DIRS="/usr/include;/usr/include/freetype2" make all } @@ -47,4 +49,4 @@ package() { } mksha256sums=('SKIP') -sha256sums=('a8c90f3f41fb3d497022a2d14a9aa39352557f5745f97b93d0bed61cebf85402') +sha256sums=('187e9a508be4c3c07f768fc98497941ac4946caf2202d24311aac81d73cff5a5') diff --git a/pcr/stow/PKGBUILD b/pcr/stow/PKGBUILD new file mode 100644 index 000000000..a3024b7e9 --- /dev/null +++ b/pcr/stow/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=stow +pkgver=2.2.0 +pkgrel=1 +pkgdesc="A program for managing the installation of software packages, keeping them separate while making them appear to be installed in the same place." +arch=(any) +url="https://www.gnu.org/software/$pkgname/" +license=('GPL2') +depends=('perl>=5.6.1') +source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +md5sums=('902564d502975f353d3b0514a21863b1') diff --git a/pcr/trytond-account-invoice/PKGBUILD b/pcr/trytond-account-invoice/PKGBUILD index 0813dd78d..c1f3a4636 100644 --- a/pcr/trytond-account-invoice/PKGBUILD +++ b/pcr/trytond-account-invoice/PKGBUILD @@ -2,18 +2,23 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-account-invoice _pkgname=trytond_account_invoice -pkgver=2.8.3 -_pkgdir=2.8 -pkgrel=1 +pkgver=3.0.0 +_pkgdir=3.0 +pkgrel=2 pkgdesc="The account_invoice module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8' 'trytond-account>=2.8' 'trytond-account-product>=2.8' 'trytond-company>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8' 'trytond-product>=2.8') +depends=('trytond>=3.0' 'trytond-account>=3.0' 'trytond-account-product>=3.0' 'trytond-company>=3.0' 'trytond-currency>=3.0' 'trytond-party>=3.0' 'trytond-product>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("5c3dda771139e55d1f445f07922028a3") +md5sums=("d225505a8ba66bfd95f22a454951dd15") + +build() { + cd $srcdir/$_pkgname-$pkgver + python2 setup.py build +} package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-account-product/PKGBUILD b/pcr/trytond-account-product/PKGBUILD index 2d196b1fd..5a780d1dd 100644 --- a/pcr/trytond-account-product/PKGBUILD +++ b/pcr/trytond-account-product/PKGBUILD @@ -2,18 +2,23 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-account-product _pkgname=trytond_account_product -pkgver=2.8.0 -_pkgdir=2.8 -pkgrel=1 +pkgver=3.0.0 +_pkgdir=3.0 +pkgrel=2 pkgdesc="The account_product module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8' 'trytond-account>=2.8' 'trytond-company>=2.8' 'trytond-product>=2.8') +depends=('trytond>=3.0' 'trytond-account>=3.0' 'trytond-company>=3.0' 'trytond-product>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("431a2bdb15e8f84af7de42e571f1c4e5") +md5sums=("16b9dee1238310a9809fcdef64cbf8a8") + +build() { + cd $srcdir/$_pkgname-$pkgver + python2 setup.py build +} package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-account/PKGBUILD b/pcr/trytond-account/PKGBUILD index 31f3c3c14..319f7c872 100644 --- a/pcr/trytond-account/PKGBUILD +++ b/pcr/trytond-account/PKGBUILD @@ -2,18 +2,24 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-account _pkgname=trytond_account -pkgver=2.8.1 -_pkgdir=2.8 -pkgrel=1 +pkgver=3.0.0 +_pkgdir=3.0 +pkgrel=2 pkgdesc="The account module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8' 'trytond-company>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8') +depends=('trytond>=3.0' 'trytond-company>=3.0' 'trytond-currency>=3.0' + 'trytond-party>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("2cdb5b5e8a3984315d410b550b7ffc1b") +md5sums=("33e28b72249e97891e00fccb5a588ea8") + +build() { + cd $srcdir/$_pkgname-$pkgver + python2 setup.py build +} package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-calendar/PKGBUILD b/pcr/trytond-calendar/PKGBUILD index bae7cdb5f..67db70dfa 100644 --- a/pcr/trytond-calendar/PKGBUILD +++ b/pcr/trytond-calendar/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-calendar _pkgname=trytond_calendar -pkgver=2.8.0 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The calendar module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8') +depends=('trytond>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("0ea2e2c2d31b44e0072591a42cf63b1a") +md5sums=("fad4dee756bbf97ce9aef47bed185704") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-company/PKGBUILD b/pcr/trytond-company/PKGBUILD index 7455afcc2..8c9b4dd47 100644 --- a/pcr/trytond-company/PKGBUILD +++ b/pcr/trytond-company/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-company _pkgname=trytond_company -pkgver=2.8.0 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The company module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8') +depends=('trytond>=3.0' 'trytond-currency>=3.0' 'trytond-party>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("6fc6ef3ec24cbe4a486f7b492e67268f") +md5sums=("87623bc65e2c629c0c5541877bfec8cb") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-country/PKGBUILD b/pcr/trytond-country/PKGBUILD index 802064c3f..7a0108996 100644 --- a/pcr/trytond-country/PKGBUILD +++ b/pcr/trytond-country/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-country _pkgname=trytond_country -pkgver=2.8.0 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The country module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8') +depends=('trytond>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("b4947b2ab766e7ef2626ed105d9422e8") +md5sums=("c365bd0ac6e04a88427cb5366c1ce493") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-currency/PKGBUILD b/pcr/trytond-currency/PKGBUILD index 3f1e364ad..21386024b 100644 --- a/pcr/trytond-currency/PKGBUILD +++ b/pcr/trytond-currency/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-currency _pkgname=trytond_currency -pkgver=2.8.0 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The currency module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8') +depends=('trytond>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("10d98fbf34c90f5d1544f3d28170eefc") +md5sums=("5507619d11d186fc041d1de7c0eea012") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-party/PKGBUILD b/pcr/trytond-party/PKGBUILD index c21e2b44f..61de6605b 100644 --- a/pcr/trytond-party/PKGBUILD +++ b/pcr/trytond-party/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-party _pkgname=trytond_party -pkgver=2.8.0 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The party module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8' 'trytond-country>=2.8') +depends=('trytond>=3.0' 'trytond-country>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("2fbf811a9d82f68889dc0350441423d4") +md5sums=("43c6d17fbe723beec0339da27f3e188e") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-product/PKGBUILD b/pcr/trytond-product/PKGBUILD index 210a6b023..4dc09354d 100644 --- a/pcr/trytond-product/PKGBUILD +++ b/pcr/trytond-product/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-product _pkgname=trytond_product -pkgver=2.8.0 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The product module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8') +depends=('trytond>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("67cf95a0d68e47365bbdef02b344a5a8") +md5sums=("756dabade95f67f49a253af1bd5513a6") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-stock-lot/PKGBUILD b/pcr/trytond-stock-lot/PKGBUILD index 08e022e21..ae39373f7 100644 --- a/pcr/trytond-stock-lot/PKGBUILD +++ b/pcr/trytond-stock-lot/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-stock-lot _pkgname=trytond_stock_lot -pkgver=2.8.0 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The stock_lot module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8' 'trytond-product>=2.8' 'trytond-stock>=2.8') +depends=('trytond>=3.0' 'trytond-product>=3.0' 'trytond-stock>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("a4c3379462de7c7af8bb342aedff6360") +md5sums=("b8424f738dc5e98d0a1de8643315e605") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond-stock/PKGBUILD b/pcr/trytond-stock/PKGBUILD index d84eda26c..31f1fc9e9 100644 --- a/pcr/trytond-stock/PKGBUILD +++ b/pcr/trytond-stock/PKGBUILD @@ -2,18 +2,18 @@ # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond-stock _pkgname=trytond_stock -pkgver=2.8.1 -_pkgdir=2.8 +pkgver=3.0.0 +_pkgdir=3.0 pkgrel=1 pkgdesc="The stock module of the Tryton application platform" arch=('any') url='http://www.tryton.org/' license=('GPL3') groups=('trytond-modules') -depends=('trytond>=2.8' 'trytond-company>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8' 'trytond-product>=2.8') +depends=('trytond>=3.0' 'trytond-company>=3.0' 'trytond-currency>=3.0' 'trytond-party>=3.0' 'trytond-product>=3.0') makedepends=('python2-distribute') source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz") -md5sums=("5b28b2ec424a0915578d420d0479bd49") +md5sums=("ec0d35080f68f7fa3218d8a30729ed22") package() { cd $srcdir/$_pkgname-$pkgver diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD index 286cff50d..eaa9d6f7b 100644 --- a/pcr/trytond/PKGBUILD +++ b/pcr/trytond/PKGBUILD @@ -2,9 +2,9 @@ # Maintainer: Robin Baumgartner <robin@baumgartners.ch> # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> pkgname=trytond -pkgver=2.8.3 -_pkgdir=2.8 -pkgrel=1 +pkgver=3.0.0 +_pkgdir=3.0 +pkgrel=2 pkgdesc="A three-tiers high-level general purpose application platform (server application)" arch=('any') url="http://www.tryton.org/" @@ -18,10 +18,8 @@ optdepends=('python2-psycopg2: support for PostgreSQL database' makedepends=('python2-distribute') install="trytond.install" source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz" - 'trytond.install' 'trytond.service') -md5sums=('db714e83e4b09213a6027911af0ad75e' - '768e68c01cb5913e36ea89c67fc98038' +md5sums=('812daa29409881adc4001c1c810bc8e8' 'b1535a8528dfd8f655624bf6faea6985') package() { diff --git a/pcr/twinkle/PKGBUILD b/pcr/twinkle/PKGBUILD new file mode 100644 index 000000000..b9e8fc537 --- /dev/null +++ b/pcr/twinkle/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 68598 2012-03-29 08:03:13Z arodseth $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> +# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com> +# Contributor: Alexander Rødseth <rodseth@gmail.com> + +pkgname=twinkle +pkgver=1.4.2 +pkgrel=20 +pkgdesc="Softphone for voice over IP and IM communication using SIP" +arch=('x86_64' 'i686') +url="http://www.twinklephone.com/" +license=('GPL') +depends=('file' 'speex' 'boost-libs' 'libsndfile' 'qt3' 'libzrtpcpp' +'commoncpp2' 'libxml2') +makedepends=('pkg-config' 'boost') +source=("http://www.xs4all.nl/~mfnboer/$pkgname/download/$pkgname-$pkgver.tar.gz" + twinkle-1.4.2-ccrtp.patch) +md5sums=('d70c8972f296ffd998c7fb698774705b' + '934f59ff60a8ae29a152feb8bf131ae2') + +build() { + cd "$srcdir" + patch -p0 < ./twinkle-1.4.2-ccrtp.patch || return 1 + + cd "$pkgname-$pkgver" + aclocal + autoconf + automake -a + export QTDIR=/usr/lib/qt3 + export PATH=$QTDIR/bin:$PATH + CPPFLAGS="$CPPFLAGS -I/usr/include/qt3" \ + ./configure --prefix=/usr \ + --without-kde \ + --with-speex \ + --without-ilbc \ + --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 "$pkgdir/usr/share/twinkle/twinkle48.png" \ + "$pkgdir/usr/share/pixmaps/twinkle.png" + install -Dm644 twinkle.desktop \ + "$pkgdir/usr/share/applications/twinkle.desktop" +} diff --git a/pcr/twinkle/twinkle-1.4.2-ccrtp.patch b/pcr/twinkle/twinkle-1.4.2-ccrtp.patch new file mode 100644 index 000000000..fdb5f6260 --- /dev/null +++ b/pcr/twinkle/twinkle-1.4.2-ccrtp.patch @@ -0,0 +1,24 @@ +diff -pruN twinkle-1.4.2-o/configure.in twinkle-1.4.2/configure.in +--- twinkle-1.4.2-o/configure.in 2009-02-24 11:49:20.000000000 -0800 ++++ twinkle-1.4.2/configure.in 2012-05-19 09:20:51.151778516 -0700 +@@ -66,7 +66,7 @@ fi + + export PKG_CONFIG_PATH + +-PKG_CHECK_MODULES(CCRTP, libccrtp1 >= 1.6.0) ++PKG_CHECK_MODULES(CCRTP, libccrtp >= 2.0.0) + + PKG_CHECK_MODULES(XML2, libxml-2.0) + # AC_CHECK_HEADER(libxml/tree.h, [], +diff -pruN twinkle-1.4.2-o/src/log.cpp twinkle-1.4.2/src/log.cpp +--- twinkle-1.4.2-o/src/log.cpp 2009-01-18 06:35:28.000000000 -0800 ++++ twinkle-1.4.2/src/log.cpp 2012-05-19 09:21:11.071594114 -0700 +@@ -161,7 +161,7 @@ void t_log::write_header(const string &f + + gettimeofday(&t, NULL); + date = t.tv_sec; +- localtime_r(&date, &tm); ++ ::localtime_r(&date, &tm); + + *log_stream << "+++ "; + *log_stream << tm.tm_mday; diff --git a/pcr/unittestpp/PKGBUILD b/pcr/unittestpp/PKGBUILD new file mode 100644 index 000000000..3918f98a2 --- /dev/null +++ b/pcr/unittestpp/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com> +# Contributor: Piotr Beling <qwak@w8.pl> +# Contributor: Vianney le Clément <vleclement AT gmail · com> +pkgname=unittestpp +pkgver=1.4 +pkgrel=3 +pkgdesc="A lightweight unit testing framework for C++" +arch=('i686' 'x86_64') +url="http://unittest-cpp.sourceforge.net/" +depends=('gcc-libs') +source=("http://downloads.sourceforge.net/project/unittest-cpp/UnitTest%2B%2B/$pkgver/unittest-cpp-${pkgver}.zip") +sha1sums=('dad944159e2e135aea74039987490eaaee00f2ad') +license=('MIT') + +build() { + cd "$srcdir/UnitTest++" + make all +} + +package() { + cd "$srcdir/UnitTest++" + + install -dm755 "$pkgdir/usr/include/unittest++/Posix" + install -m644 src/*.h "$pkgdir/usr/include/unittest++" + install -m644 src/Posix/*.h "$pkgdir/usr/include/unittest++/Posix" + + install -dm755 "$pkgdir/usr/lib" + install -m644 libUnitTest++.a "$pkgdir/usr/lib" + + install -dm755 "$pkgdir/usr/share/licenses/unittest++" + install -m644 COPYING "$pkgdir/usr/share/licenses/unittest++/LICENSE" + install -dm755 "$pkgdir/usr/share/doc/unittest++" + install -m644 README "$pkgdir/usr/share/doc/unittest++/README" + install -m644 docs/UnitTest++.html "$pkgdir/usr/share/doc/unittest++/UnitTest++.html" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/wdiff/PKGBUILD b/pcr/wdiff/PKGBUILD new file mode 100644 index 000000000..41bee9679 --- /dev/null +++ b/pcr/wdiff/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=wdiff +pkgver=1.2.1 +pkgrel=1 +pkgdesc="A front end to diff for comparing files on a word per word basis." +arch=('i686' 'x86_64') +url="https://www.gnu.org/software/$pkgname/" +license=('GPL3') +depends=('diffutils') +source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +md5sums=('fc54e044b229a23c1cfa8e5689196f24') diff --git a/pcr/wmii-hg/PKGBUILD b/pcr/wmii-hg/PKGBUILD new file mode 100644 index 000000000..c556a1b88 --- /dev/null +++ b/pcr/wmii-hg/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +# Maintainer (AUR): N30N <archlinux@alunamation.com> +# Contributor: Anthony Martin <ality@pbrane.org> +# Contributer: thomasd <thdahms@gmx.de> +# Contributer: karnath <karnath@pop3.ru> +# Contributer: MrBougo <bougospam@gmail.com> +# Contributor: Wolf Ramovsky <wolf.ramovsky@gmail.com> + +pkgname=wmii-hg +pkgver=2813 +pkgdesc="A small, dynamic window manager for X11" +url="https://code.google.com/p/wmii/" +license=("MIT") + +provides=("wmii") +conflicts=("wmii") + +pkgrel=1 +arch=("i686" "x86_64") +depends=('libxft' 'libxrandr' 'libxinerama') +makedepends=('txt2tags' 'libixp') # libixp is statically linked + +source=("libre://${pkgname}-${pkgver}.tar.gz") +md5sums=('74eb9f91000321b587e7826be999d4de') + +mkdepends=('mercurial') +mksource=("$pkgname-$pkgver::hg+https://code.google.com/p/wmii/#revision=${pkgver}") +mkmd5sums=('SKIP') +mksource() { + # don't include this precompiled binary (probably included by accident) + rm "${srcdir}/${pkgname}-${pkgver}/lib/libutf/libutf.a" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + export LDFLAGS+=',--no-as-needed' + sed -i 's|PREFIX = /usr/local|PREFIX = /usr|' config.mk + sed -i 's|ETC = $(PREFIX)/etc|ETC = /etc|' config.mk + sed -i 's|PYTHON = .*|PYTHON = python2|' config.mk + echo 'CFLAGS += -O2' >> config.mk + sed -i 's# !=#!=#' mk/hdr.mk + + export MAKEFLAGS="-j1" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + install -Dm644 img/wmii.png "${pkgdir}"/usr/share/pixmaps/wmii.png + install -Dm644 debian/file/wmii.desktop "${pkgdir}"/usr/share/xsessions/wmii.desktop + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/pcr/xrdp/PKGBUILD b/pcr/xrdp/PKGBUILD new file mode 100644 index 000000000..1cf561115 --- /dev/null +++ b/pcr/xrdp/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Tomasz Zok <tomasz.zok [at] gmail.com> +# Maintainer: techryda <techryda at silentdome dot com> +# Contributor: Mathias R. <pu154r@overlinux.org> +# Maintainer (Parabola): Esteban Carnevale <alfplayer@mailoo.org> + +pkgname=xrdp +pkgver=0.6.1 +pkgrel=1 +pkgdesc="An open source remote desktop protocol (RDP) server" +url="http://xrdp.sourceforge.net/" +arch=('i686' 'x86_64' 'armv6h') +license=('GPL') +depends=('tigervnc') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-v$pkgver.tar.gz" + 'xrdp.service' + 'xrdp-sesman.service') +md5sums=('26099c6588943262023607c1b4e774d8' + '0cb760b3e8a34f9bdf4daa871444d74c' + '58eb44bdc7ca5bb436d6fd66826f9b0f') + +prepare() { + cd "${pkgname}-v${pkgver}" + # Fix path in xrdp.sh file + sed -i 's|/usr/local/sbin|/usr/bin|' instfiles/xrdp.sh +} + +build() { + cd "${pkgname}-v${pkgver}" + ./bootstrap + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin + make +} + +package() { + cd "${pkgname}-v${pkgver}" + make DESTDIR="$pkgdir" install + cd ${pkgdir} + # Install systemd service files + mkdir -p usr/lib/systemd/system + cp ${srcdir}/*.service usr/lib/systemd/system +} diff --git a/pcr/xrdp/xrdp-sesman.service b/pcr/xrdp/xrdp-sesman.service new file mode 100644 index 000000000..8222069b9 --- /dev/null +++ b/pcr/xrdp/xrdp-sesman.service @@ -0,0 +1,15 @@ +[Unit] +Description=xrdp session manager +After=syslog.target network.target +StopWhenUnneeded=true + +[Service] +Type=forking +PIDFile=/var/run/xrdp-sesman.pid +EnvironmentFile=/etc/xrdp/xrdp.ini +ExecStart=/usr/bin/xrdp-sesman $SESMAN_OPTIONS +ExecStop=/usr/bin/xrdp-sesman $SESMAN_OPTIONS --kill + +[Install] +WantedBy=multi-user.target + diff --git a/pcr/xrdp/xrdp.service b/pcr/xrdp/xrdp.service new file mode 100644 index 000000000..269dff87b --- /dev/null +++ b/pcr/xrdp/xrdp.service @@ -0,0 +1,14 @@ +[Unit] +Description=xrdp daemon +Requires=xrdp-sesman.service +After=syslog.target network.target xrdp-sesman.service + +[Service] +Type=forking +PIDFile=/var/run/xrdp.pid +EnvironmentFile=/etc/xrdp/xrdp.ini +ExecStart=/usr/bin/xrdp $XRDP_OPTIONS +ExecStop=/usr/bin/xrdp $XRDP_OPTIONS --kill + +[Install] +WantedBy=multi-user.target diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD index f6aeb166c..96a493b25 100644 --- a/pcr/youtube-dl-current/PKGBUILD +++ b/pcr/youtube-dl-current/PKGBUILD @@ -5,13 +5,14 @@ pkgname=youtube-dl-current _pkgname=youtube-dl provides=(youtube-dl) -pkgver=2013.11.03 +pkgver=2013.12.26 pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" arch=('any') url="http://rg3.github.io/youtube-dl/" license=('custom') -depends=('python') +depends=('python' 'python-setuptools') +optdepends=('ffmpeg: for video post-processing') makedepends=('python-distribute') source=(http://youtube-dl.org/downloads/${pkgver}/${_pkgname}-${pkgver}.tar.gz{,.sig}) @@ -27,5 +28,5 @@ package() { "${pkgdir}/usr/share/bash-completion/completions/youtube-dl" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } -md5sums=('62e49076cb5e67233b3a8a8df9c8c0e8' +md5sums=('ae343ec6785e6bed333aa2fe2eaed31c' 'SKIP') |