[arch-commits] Commit in picocom/trunk (PKGBUILD picocom.install)

Sébastien Luttringer seblu at archlinux.org
Thu Jan 12 23:29:59 UTC 2017


    Date: Thursday, January 12, 2017 @ 23:29:58
  Author: seblu
Revision: 207103

upgpkg: picocom 2.2-2

https://www.archlinux.org/todo/pacman-hooks-systemd-sysuserstmpfiles/

Modified:
  picocom/trunk/PKGBUILD
Deleted:
  picocom/trunk/picocom.install

-----------------+
 PKGBUILD        |   12 ++++++------
 picocom.install |   17 -----------------
 2 files changed, 6 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-12 21:57:09 UTC (rev 207102)
+++ PKGBUILD	2017-01-12 23:29:58 UTC (rev 207103)
@@ -4,23 +4,22 @@
 
 pkgname=picocom
 pkgver=2.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Minimal dumb-terminal emulation program, very much like minicom'
 url='https://github.com/npat-efault/picocom'
 license=('GPL2')
 arch=('i686' 'x86_64')
+makedepends=('git')
 depends=('glibc')
-install=$pkgname.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/npat-efault/picocom/archive/$pkgver.tar.gz")
-sha1sums=('db13433be036833d686241e2b3b5412d7776b7c9')
+source=("git+https://github.com/npat-efault/picocom.git#tag=$pkgver")
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make UUCP_LOCK_DIR=/run/lock/picocom
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   install -D -m 755 picocom "$pkgdir/usr/bin/picocom"
   install -D -m 644 picocom.1 "$pkgdir/usr/share/man/man1/picocom.1"
   # install tmpfiles for lock files
@@ -31,3 +30,4 @@
 }
 
 # vim:set ts=2 sw=2 et:
+md5sums=('SKIP')

Deleted: picocom.install
===================================================================
--- picocom.install	2017-01-12 21:57:09 UTC (rev 207102)
+++ picocom.install	2017-01-12 23:29:58 UTC (rev 207103)
@@ -1,17 +0,0 @@
-# vim:set ts=2 sw=2 ft=sh et:
-
-## arg 1:  the new package version
-post_install() {
-  type -P 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
-pre_remove() {
- type -P systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf
-}



More information about the arch-commits mailing list