diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/gsmartcontrol/PKGBUILD | 12 | ||||
-rw-r--r-- | community/kicad/PKGBUILD | 6 | ||||
-rw-r--r-- | community/picocom/PKGBUILD | 12 | ||||
-rw-r--r-- | community/picocom/picocom.install | 19 |
4 files changed, 40 insertions, 9 deletions
diff --git a/community/gsmartcontrol/PKGBUILD b/community/gsmartcontrol/PKGBUILD index 7f5e1cc78..d1d24c446 100644 --- a/community/gsmartcontrol/PKGBUILD +++ b/community/gsmartcontrol/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Jelle van der Waa <jelle@vdwaa.nl> pkgname=gsmartcontrol -pkgver=0.8.6 -pkgrel=3 +pkgver=0.8.7 +pkgrel=1 pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool." arch=('i686' 'x86_64' 'mips64el') url="http://gsmartcontrol.berlios.de/home/index.php/en/Home" @@ -12,7 +12,8 @@ optdepends=('gnomesu: for gsmartcontrol-root' 'gksu: for gsmartcontrol-root') install=${pkgname}.install source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2) -md5sums=('d2ac685e2e73b05f7ba74c93623af739') +md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30') + build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -20,6 +21,11 @@ build() { make } +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + package() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/community/kicad/PKGBUILD b/community/kicad/PKGBUILD index 686583d0e..6bedf50a6 100644 --- a/community/kicad/PKGBUILD +++ b/community/kicad/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74934 2012-08-10 01:31:30Z kkeen $ +# $Id: PKGBUILD 75041 2012-08-12 14:50:10Z jelle $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Marq Schneider <queueRAM@gmail.com> @@ -6,14 +6,14 @@ pkgname=kicad pkgver=20120119 _pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2} _pkgbzr=3256 -pkgrel=1 +pkgrel=2 pkgdesc="Electronic schematic and printed circuit board (PCB) design tools" arch=('i686' 'x86_64') url="http://iut-tice.ujf-grenoble.fr/kicad/" license=('GPL') depends=('mesa' 'wxgtk') makedepends=('boost' 'cmake' 'zlib') -optdepends=('kicad-doc-bzr: for documentation' +optdepends=('kicad-docs-bzr: for documentation' 'kicad-library-bzr: for footprints') install=kicad.install source=(http://iut-tice.ujf-grenoble.fr/cao/${pkgname}_sources-$_pkgver-BZR$_pkgbzr-stable.zip diff --git a/community/picocom/PKGBUILD b/community/picocom/PKGBUILD index 9ff4e0148..be3edddc5 100644 --- a/community/picocom/PKGBUILD +++ b/community/picocom/PKGBUILD @@ -1,27 +1,33 @@ -# $Id: PKGBUILD 65693 2012-02-21 23:59:24Z seblu $ +# $Id: PKGBUILD 75039 2012-08-12 14:06:03Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Jens Adam (byte/jra) <j_adam@web.de> pkgname=picocom pkgver=1.7 -pkgrel=1 +pkgrel=2 pkgdesc='Minimal dumb-terminal emulation program, very much like minicom' url='http://code.google.com/p/picocom/' license=('GPL2') arch=('i686' 'x86_64' 'mips64el') depends=('glibc') +install=$pkgname.install source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz") sha1sums=('bde6e36af71db845913f9d61f28dee1b485218fa') build() { cd $pkgname-$pkgver - make --environment-overrides UUCP_LOCK_DIR=/run/lock + make --environment-overrides UUCP_LOCK_DIR=/run/lock/picocom } package() { cd $pkgname-$pkgver install -D -m 755 picocom "$pkgdir/usr/bin/picocom" install -D -m 644 picocom.8 "$pkgdir/usr/share/man/man8/picocom.8" + # install tmpfiles for lock files + # http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html + install -D -m 644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + echo "d /run/lock/$pkgname 0770 root uucp" \ + > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" } # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/picocom/picocom.install b/community/picocom/picocom.install new file mode 100644 index 000000000..4d2f2ed48 --- /dev/null +++ b/community/picocom/picocom.install @@ -0,0 +1,19 @@ +#!/bin/sh + +## arg 1: the new package version +post_install() { + type systemd-tmpfiles >/dev/null && systemd-tmpfiles --create picocom.conf +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install "$1" +} + +## arg 1: the old package version +post_remove() { + type systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf +} + +# vim:set ts=2 sw=2 ft=sh et: |