From f5da39f098910b7b6f92dfbcc0c4d5d235d4a57d Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Mar 2013 00:04:36 -0700 Subject: Mon Mar 18 00:04:36 PDT 2013 --- community/aria2/PKGBUILD | 6 +++--- community/bbswitch/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community/bbswitch/bbswitch.install | 12 ++++++++++++ community/cantata/PKGBUILD | 2 +- community/erlang/PKGBUILD | 6 +++--- community/gen2shp/PKGBUILD | 4 ++-- community/lightdm/PKGBUILD | 18 +++++++++++++----- community/lightdm/lightdm.install | 17 ++++++++++------- community/lightdm/lightdm.tmpfiles | 3 +-- community/python2-pycdio/PKGBUILD | 23 +++++++++++++++++++++++ 10 files changed, 100 insertions(+), 23 deletions(-) create mode 100644 community/bbswitch/PKGBUILD create mode 100644 community/bbswitch/bbswitch.install create mode 100644 community/python2-pycdio/PKGBUILD (limited to 'community') diff --git a/community/aria2/PKGBUILD b/community/aria2/PKGBUILD index 805882571..cca3dbd97 100644 --- a/community/aria2/PKGBUILD +++ b/community/aria2/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 83746 2013-02-04 21:45:01Z bpiotrowski $ +# $Id: PKGBUILD 86453 2013-03-17 13:59:10Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Angel Velasquez @@ -6,7 +6,7 @@ # Contributor: Daniel J Griffiths pkgname=aria2 -pkgver=1.16.3 +pkgver=1.16.4 pkgrel=1 pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink' arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ license=('GPL') depends=('gnutls' 'libxml2' 'sqlite' 'c-ares' 'ca-certificates') checkdepends=('cppunit') source=(http://downloads.sourceforge.net/aria2/aria2-${pkgver}.tar.bz2) -sha256sums=('989f8eb5599394681d75e18acf3d4261870cc2dce70b813ce84305dc3c9e50a2') +sha256sums=('7fb5360570ee626b428f9450244435734fbc9e979994e3e61eb672e8ed970319') build() { cd $pkgname-$pkgver diff --git a/community/bbswitch/PKGBUILD b/community/bbswitch/PKGBUILD new file mode 100644 index 000000000..4f9eba675 --- /dev/null +++ b/community/bbswitch/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: M0Rf30 +# Contributor: Samsagax + +pkgname=bbswitch +pkgver=0.5 +_extramodules=extramodules-3.7-ARCH # Don't forget to update bbswitch.install +pkgrel=2 +pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops" +arch=('i686' 'x86_64') +url=("http://github.com/Bumblebee-Project/bbswitch") +license=('GPL') +depends=('linux>=3.7' 'linux<3.8') +makedepends=('linux-headers>=3.7' 'linux-headers<3.8') +install=bbswitch.install +source=("https://github.com/downloads/Bumblebee-Project/bbswitch/${pkgname}-${pkgver}.tar.gz") +md5sums=('5e0e6eb9c5e8c10db56e5b349b43bba7') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + + make KDIR=/usr/src/linux-${_kernver} +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + install -Dm644 bbswitch.ko "${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko + gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko" +} diff --git a/community/bbswitch/bbswitch.install b/community/bbswitch/bbswitch.install new file mode 100644 index 000000000..b19b2f9c4 --- /dev/null +++ b/community/bbswitch/bbswitch.install @@ -0,0 +1,12 @@ +post_install() { + EXTRAMODULES='extramodules-3.7-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/cantata/PKGBUILD b/community/cantata/PKGBUILD index cc2e0483e..13c1c3764 100644 --- a/community/cantata/PKGBUILD +++ b/community/cantata/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 86085 2013-03-11 23:14:54Z cinelli $ +# $Id: PKGBUILD 86462 2013-03-17 20:07:56Z cinelli $ # Maintainer: Federico Cinelli # Contributor: Andrea Scarpino # Contributor: Mcder3 diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD index 668e8494c..ab8979d97 100644 --- a/community/erlang/PKGBUILD +++ b/community/erlang/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 85255 2013-02-28 10:10:52Z arodseth $ +# $Id: PKGBUILD 86449 2013-03-17 11:12:15Z arodseth $ # Maintainer: Lukas Fleischer # Maintainer: Alexander Rødseth # Contributor: Vesa Kaihlavirta @@ -9,11 +9,11 @@ pkgbase=erlang pkgname=('erlang' 'erlang-unixodbc') pkgver=R16B -pkgrel=1 +pkgrel=2 arch=('x86_64' 'i686') url='http://www.erlang.org/' license=('custom') -makedepends=('perl' 'mesa' 'lksctp-tools' 'unixodbc') +makedepends=('perl' 'mesa' 'lksctp-tools' 'unixodbc' 'wxgtk') source=("http://www.erlang.org/download/otp_src_${pkgver/_/-}.tar.gz" "http://www.erlang.org/download/otp_doc_man_${pkgver/_/-}.tar.gz") sha256sums=('f01c2cfe512d3118fd3398a66bdb82bea6ad0f45b464a46a58e452264b7682cd' diff --git a/community/gen2shp/PKGBUILD b/community/gen2shp/PKGBUILD index 49d8a2270..f1366188c 100644 --- a/community/gen2shp/PKGBUILD +++ b/community/gen2shp/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 86091 2013-03-12 00:14:12Z cinelli $ +# $Id: PKGBUILD 86465 2013-03-17 20:20:40Z cinelli $ # Maintainer: Federico Cinelli # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org pkgname=gen2shp pkgver=0.3.1 -pkgrel=6 +pkgrel=7 pkgdesc='Converts ArcInfo generate format to shapefile format' arch=('i686' 'x86_64') url='http://www.intevation.de/~jan/gen2shp/' diff --git a/community/lightdm/PKGBUILD b/community/lightdm/PKGBUILD index 2fc41c651..9ad4762cc 100755 --- a/community/lightdm/PKGBUILD +++ b/community/lightdm/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 86397 2013-03-16 08:12:38Z alucryd $ +# $Id: PKGBUILD 86471 2013-03-17 21:36:08Z alucryd $ # Maintainer: Maxime Gauduin # Contributor: Morfeo pkgbase=lightdm pkgname=('lightdm' 'liblightdm-qt4') pkgver=1.4.0 -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc="A lightweight display manager" arch=('i686' 'x86_64') @@ -24,7 +24,7 @@ source=("https://launchpad.net/lightdm/1.4/${pkgver}/+download/${pkgbase}-${pkgv 'xsession') sha256sums=('3486a9f828864a78d452696cf6fef6e1dec2f4ef92a72e90ab37edf9a0824c43' '2e03423cbe88c9fdc3a9684d6d14221aa6e92d105f9d1d53b08747d966c45125' - 'ec10378992907f06a6960c4644aba2f81744fbcaf38f6bdc7c364979be3207e4' + 'b29521fbd7a48a8f60b93ecca3b30c30bcb71560de8033c8d39b25c22c6f696f' 'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0' '33e3c3d6e16c8d30756754ea3f31f5457c5be0343686aad287692be34958984a' 'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6' @@ -45,7 +45,7 @@ build() { } package_lightdm() { -depends=('libxklavier' 'pam') +depends=('libxklavier' 'systemd') optdepends=('xorg-server-xephyr: LightDM test mode' 'accountsservice: limit visible accounts') backup=('etc/apparmor.d/lightdm-guest-session' @@ -59,9 +59,17 @@ install=${pkgbase}.install # Install make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" -C liblightdm-qt uninstall - install -m 755 ../xsession "${pkgdir}"/etc/lightdm/xsession rm -rf "${pkgdir}"/etc/init +# Persistent home + install -dm 770 "${pkgdir}"/var/lib/lightdm + chmod +t "${pkgdir}"/var/lib/lightdm + echo 'GDK_CORE_DEVICE_EVENTS=true' > "${pkgdir}"/var/lib/lightdm/.pam_environment + chmod 644 "${pkgdir}"/var/lib/lightdm/.pam_environment + +# Session wrapper + install -m 755 ../xsession "${pkgdir}"/etc/lightdm/xsession + # PAM install -m 644 ../lightdm.pam "${pkgdir}"/etc/pam.d/lightdm install -m 644 ../lightdm-autologin.pam "${pkgdir}"/etc/pam.d/lightdm-autologin diff --git a/community/lightdm/lightdm.install b/community/lightdm/lightdm.install index 154d93e10..7d9d99a26 100755 --- a/community/lightdm/lightdm.install +++ b/community/lightdm/lightdm.install @@ -1,15 +1,18 @@ post_install() { - getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm - getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /run/lightdm -s /sbin/nologin lightdm - passwd -l lightdm > /dev/null - systemd-tmpfiles --create /usr/lib/tmpfiles.d/lightdm.conf + getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm + getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /sbin/nologin lightdm + passwd -l lightdm > /dev/null + chown -R lightdm:lightdm /var/lib/lightdm > /dev/null + systemd-tmpfiles --create lightdm.conf } post_upgrade() { - post_install + post_install } post_remove() { - getent passwd lightdm > /dev/null 2>&1 && userdel lightdm - getent group lightdm > /dev/null 2>&1 && groupdel lightdm + getent passwd lightdm > /dev/null 2>&1 && userdel lightdm + getent group lightdm > /dev/null 2>&1 && groupdel lightdm } + +# vim: ts=2 sw=2 et: diff --git a/community/lightdm/lightdm.tmpfiles b/community/lightdm/lightdm.tmpfiles index 5199f5327..d8ef132d3 100755 --- a/community/lightdm/lightdm.tmpfiles +++ b/community/lightdm/lightdm.tmpfiles @@ -1,2 +1 @@ -d /run/lightdm 0775 lightdm lightdm -f /run/lightdm/.pam_environment 0644 lightdm lightdm - GDK_CORE_DEVICE_EVENTS=true +d /run/lightdm 0711 lightdm lightdm diff --git a/community/python2-pycdio/PKGBUILD b/community/python2-pycdio/PKGBUILD new file mode 100644 index 000000000..54f608dbd --- /dev/null +++ b/community/python2-pycdio/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 86447 2013-03-17 10:57:47Z fyan $ +# Maintainer: Felix Yan +# Contributor: Alessandro Pezzoni + +pkgname=python2-pycdio +pkgver=0.19 +pkgrel=2 +pkgdesc="Python OO interface to libcdio (CD Input and Control library)" +arch=("i686" "x86_64") +url="http://pypi.python.org/pypi/pycdio/" +license=('GPL') +depends=('python2' 'libcdio') +makedepends=('python2-distribute' 'pkg-config' 'swig') +options=(!emptydirs) +source=("http://pypi.python.org/packages/source/p/${pkgname#python2-}/${pkgname#python2-}-${pkgver}.tar.gz") +md5sums=('a6b00666ce8d77ab80a4084a8ff1136b') + +package() { + cd "$srcdir/${pkgname#python2-}-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf