summaryrefslogtreecommitdiff
path: root/community/picocom/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-14 10:56:20 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-14 10:56:20 -0300
commitd5be0922f99093b4659507a4c17c664ac5c2f577 (patch)
tree03704fe8477fe4f6e3f2f15f0bd848b5e4b702e9 /community/picocom/PKGBUILD
parentc6d876200ad3def9a1e9725b3daf29e01ae8e3c5 (diff)
parenta36c4a33891932acf2ac1cdebbb9caed01d7df6f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/pdf2djvu/PKGBUILD core/systemd/PKGBUILD extra/audacious/PKGBUILD extra/cups/PKGBUILD multilib-testing/lib32-libdrm/PKGBUILD staging/inkscape/PKGBUILD staging/poppler/PKGBUILD testing/ethtool/PKGBUILD testing/libdrm/PKGBUILD testing/openconnect/PKGBUILD
Diffstat (limited to 'community/picocom/PKGBUILD')
-rw-r--r--community/picocom/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
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: