Skip to content

Commit

Permalink
testlib: init at 0.9.41-2
Browse files Browse the repository at this point in the history
  • Loading branch information
ouuan committed Dec 28, 2024
1 parent 8418f2e commit 6d341ea
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions testlib/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Maintainer: Yufan You <ouuansteve at gmail>
# Contributor: William Di Luigi <[email protected]>

pkgname=testlib
pkgver=0.9.41
pkgrel=2
pkgdesc='C++ library to develop competitive programming problems'
arch=('any')
url='https://github.com/MikeMirzayanov/testlib'
license=('MIT')
source=("$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('749709b96b76c0f0492841aa08278b7b5daa34d099ab3095f36ec796a790baac')

package() {
cd "$pkgname-$pkgver"

install -Dm644 testlib.h -t "$pkgdir/usr/include"

for dir in checkers generators interactors validators; do
install -Dm644 $dir/*.cpp -t "$pkgdir/usr/share/$pkgname/$dir"
done

install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

0 comments on commit 6d341ea

Please sign in to comment.