diff options
author | Mattias Andrée <maandree@kth.se> | 2017-11-16 19:07:29 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-11-16 19:08:09 +0100 |
commit | a03752678fe82c8ef5c59b1ddcc66bc508e22c80 (patch) | |
tree | 491ac98ec6b848a47a9c7bf304a52599e4d31419 /cmdipc | |
parent | Add autopasswd (diff) | |
download | aur-packages-a03752678fe82c8ef5c59b1ddcc66bc508e22c80.tar.gz aur-packages-a03752678fe82c8ef5c59b1ddcc66bc508e22c80.tar.bz2 aur-packages-a03752678fe82c8ef5c59b1ddcc66bc508e22c80.tar.xz |
Add cmdipc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'cmdipc')
-rw-r--r-- | cmdipc/PKGBUILD | 27 | ||||
-rw-r--r-- | cmdipc/cmdipc.install | 20 | ||||
l--------- | cmdipc/upload | 1 |
3 files changed, 48 insertions, 0 deletions
diff --git a/cmdipc/PKGBUILD b/cmdipc/PKGBUILD new file mode 100644 index 0000000..a9595f2 --- /dev/null +++ b/cmdipc/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=cmdipc +pkgver=1.3 +pkgrel=2 +pkgdesc="System V and POSIX IPC from the command line" +arch=(any) +url="https://github.com/maandree/cmdipc" +license=('GPL3' 'custom:GFDL1.3') +depends=(python3 python-posix_ipc python-sysv-ipc argparser-python) +makedepends=(make sed zip texinfo) +install=cmdipc.install +source=($url/archive/$pkgver.tar.gz) +sha256sums=(1f1eb0e18678140ef7b0f1f30ae11ec8aef8357aec61fd67fb0129fe5bd8d70b) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr install DESTDIR="$pkgdir" +} + diff --git a/cmdipc/cmdipc.install b/cmdipc/cmdipc.install new file mode 100644 index 0000000..1ff9749 --- /dev/null +++ b/cmdipc/cmdipc.install @@ -0,0 +1,20 @@ +_file="cmdipc" + +infodir="usr/share/info" +file="${_file}.info" + + +post_install() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + diff --git a/cmdipc/upload b/cmdipc/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/cmdipc/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |