summaryrefslogtreecommitdiff
path: root/community/picocom
diff options
context:
space:
mode:
Diffstat (limited to 'community/picocom')
-rw-r--r--community/picocom/PKGBUILD10
-rw-r--r--community/picocom/picocom.install8
2 files changed, 8 insertions, 10 deletions
diff --git a/community/picocom/PKGBUILD b/community/picocom/PKGBUILD
index 6347d05b1..17684fe0b 100644
--- a/community/picocom/PKGBUILD
+++ b/community/picocom/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 75039 2012-08-12 14:06:03Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# $Id: PKGBUILD 98869 2013-10-20 22:35:11Z seblu $
+# Maintainer: Sébastien Luttringer
# Contributor: Jens Adam (byte/jra) <j_adam@web.de>
pkgname=picocom
pkgver=1.7
-pkgrel=2
+pkgrel=3
pkgdesc='Minimal dumb-terminal emulation program, very much like minicom'
url='http://code.google.com/p/picocom/'
license=('GPL2')
@@ -16,7 +16,7 @@ sha1sums=('bde6e36af71db845913f9d61f28dee1b485218fa')
build() {
cd $pkgname-$pkgver
- make --environment-overrides UUCP_LOCK_DIR=/run/lock/picocom
+ make UUCP_LOCK_DIR=/run/lock/picocom
}
package() {
@@ -30,4 +30,4 @@ package() {
> "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
}
-# vim:set ts=2 sw=2 ft=sh et:
+# vim:set ts=2 sw=2 et:
diff --git a/community/picocom/picocom.install b/community/picocom/picocom.install
index 4d2f2ed48..aab48bdc7 100644
--- a/community/picocom/picocom.install
+++ b/community/picocom/picocom.install
@@ -1,8 +1,8 @@
-#!/bin/sh
+# vim:set ts=2 sw=2 ft=sh et:
## arg 1: the new package version
post_install() {
- type systemd-tmpfiles >/dev/null && systemd-tmpfiles --create picocom.conf
+ type -P systemd-tmpfiles >/dev/null && systemd-tmpfiles --create picocom.conf
}
# arg 1: the new package version
@@ -13,7 +13,5 @@ post_upgrade() {
## arg 1: the old package version
post_remove() {
- type systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf
+ type -P systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf
}
-
-# vim:set ts=2 sw=2 ft=sh et: