# Contributor: André Klitzing # Maintainer: André Klitzing setglobal pkgname = 'reptyr' setglobal pkgver = '0.6.2' setglobal pkgrel = '0' setglobal pkgdesc = '"Reparent a running program to a new terminal'" setglobal url = '"https://github.com/nelhage/reptyr'" setglobal arch = '"all !aarch64 !ppc64le'" setglobal license = '"MIT'" setglobal makedepends = '"linux-headers'" setglobal subpackages = ""$pkgname-doc"" setglobal source = ""https://github.com/nelhage/$pkgname/archive/$pkgname-$pkgver.tar.gz $pkgname-$pkgver-musl.patch::https://github.com/nelhage/reptyr/commit/319add30640feeb61a3f5af249aef5bcf3d52298.patch "" setglobal builddir = ""$srcdir/"reptyr-reptyr-$pkgver" proc build { cd $builddir make } proc package { cd $builddir make DESTDIR="$pkgdir" PREFIX=/usr install } setglobal sha512sums = '"ad0b378d3c30bbfaa30dfcc06c405c375c7e9bcc3bae2e7fb97b8c3f88f482f461c9c846df0064cc842149b07b8a6b616d95f74cdf38f1b2a5011f6b9328c327 reptyr-0.6.2.tar.gz 3ca4a1019dd296959f4eb12b8ace50864c2da1f9189fdbbaeea7c45d98d72371f59ebf7038564395e54f0180ccd12f7df7e60880731f7adffb05904dc4b9d9b3 reptyr-0.6.2-musl.patch'"