Date: Saturday, November 5, 2022 @ 23:44:36
Author: arojas
Revision: 1342598
archrelease: copy trunk to community-staging-x86_64
Added:
libtsm/repos/community-staging-x86_64/
libtsm/repos/community-staging-x86_64/PKGBUILD
(from rev 1342597, libtsm/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: libtsm/repos/community-staging-x86_64/PKGBUILD (from rev 1342597,
libtsm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-11-05 23:44:36 UTC (rev 1342598)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel Micay <[email protected]>
+# Contributor: David Herrmann <[email protected]>
+pkgname=libtsm
+pkgver=4.0.2
+pkgrel=1
+pkgdesc='Terminal-emulator State Machine'
+arch=('x86_64')
+url="https://www.freedesktop.org/wiki/Software/kmscon/$pkgname"
+license=('MIT')
+depends=('glibc')
+makedepends=('cmake' 'libxkbcommon')
+options=(!libtool)
+source=("https://github.com/Aetf/libtsm/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('bcf1bafa3798bced0e9bd16b4afdf256')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname-$pkgver/COPYING
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}