[arch-commits] Commit in reptyr/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:52:45 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:52:45
Author: felixonmars
Revision: 659457
archrelease: copy trunk to community-staging-x86_64
Added:
reptyr/repos/community-staging-x86_64/
reptyr/repos/community-staging-x86_64/PKGBUILD
(from rev 659456, reptyr/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: reptyr/repos/community-staging-x86_64/PKGBUILD (from rev 659456, reptyr/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 16:52:45 UTC (rev 659457)
@@ -0,0 +1,32 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=reptyr
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='Utility for taking an existing running program and attaching it to a new terminal'
+arch=('x86_64')
+license=('BSD')
+url="https://github.com/nelhage/reptyr"
+depends=('glibc')
+source=($pkgname-$pkgver.tar.gz::https://github.com/nelhage/$pkgname/tarball/$pkgname-$pkgver)
+sha256sums=('9de9f1c79519abe0133effd25afcb6df295c3327fc1e4a3003c7cb076a2c9d47')
+
+prepare() {
+ cd "${srcdir}"/nelhage-$pkgname-*
+
+ sed -i 's|etc/bash_completion.d|usr/share/bash-completion/completions|' Makefile
+}
+
+build() {
+ cd "${srcdir}"/nelhage-$pkgname-*
+
+ make
+}
+
+package() {
+ cd "${srcdir}"/nelhage-$pkgname-*
+
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/reptyr/LICENSE
+}
More information about the arch-commits
mailing list