Date: Monday, July 18, 2022 @ 20:16:41 Author: arojas Revision: 1254458
archrelease: copy trunk to community-x86_64 Added: libptytty/repos/ libptytty/repos/community-x86_64/ libptytty/repos/community-x86_64/PKGBUILD (from rev 1254457, libptytty/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: libptytty/repos/community-x86_64/PKGBUILD (from rev 1254457, libptytty/trunk/PKGBUILD) =================================================================== --- repos/community-x86_64/PKGBUILD (rev 0) +++ repos/community-x86_64/PKGBUILD 2022-07-18 20:16:41 UTC (rev 1254458) @@ -0,0 +1,25 @@ +# Maintainer: +# Contributor: mrdotx <klassi...@gmx.de> + +pkgname=libptytty +pkgver=2.0 +pkgrel=4 +pkgdesc='An offspring of rxvt-unicode that handles pty/tty/utmp/wtmp/lastlog handling in mostly OS-independent ways' +arch=(x86_64) +url='http://software.schmorp.de/pkg/libptytty.html' +license=(GPL) +source=(http://dist.schmorp.de/$pkgname/$pkgname-$pkgver.tar.gz) +depends=(gcc-libs) +makedepends=(cmake) +sha256sums=('8033ed3aadf28759660d4f11f2d7b030acf2a6890cb0f7926fb0cfa6739d31f7') + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SHARED_LIBS=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}