Initial upload: pla-util 2.1.3-1

This commit is contained in:
2025-04-26 01:55:14 +02:00
parent 924db57097
commit 7657a786fd
3 changed files with 44 additions and 0 deletions

15
pla-util/.SRCINFO Normal file
View File

@@ -0,0 +1,15 @@
pkgbase = pla-util
pkgdesc = A power line adapter utility for Linux
pkgver = 2.1.3
pkgrel = 1
url = https://github.com/serock/pla-util
arch = x86_64
license = GPL-3.0-only
depends = glibc
depends = gcc-libs
depends = libpcap
depends = gcc-ada
source = pla-util-2.1.3.tar.gz::https://github.com/serock/pla-util/archive/refs/tags/2.1.3.tar.gz
b2sums = d48003e52c2e469ec2a0c8baa1ca61654b0071b8569ab77672de94fc683b4f8447cd2226a9bea48e0c6b4104a30e9914860a7f2f07324c220ff06364f9294e0c
pkgname = pla-util

3
pla-util/.nvchecker.toml Normal file
View File

@@ -0,0 +1,3 @@
[pla-util]
source = "git"
git = "https://github.com/serock/pla-util.git"

26
pla-util/PKGBUILD Normal file
View File

@@ -0,0 +1,26 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=pla-util
pkgver=2.1.3
pkgrel=1
pkgdesc='A power line adapter utility for Linux'
arch=(x86_64)
url='https://github.com/serock/pla-util'
license=(GPL-3.0-only)
depends=(glibc gcc-libs libpcap gcc-ada)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
b2sums=('d48003e52c2e469ec2a0c8baa1ca61654b0071b8569ab77672de94fc683b4f8447cd2226a9bea48e0c6b4104a30e9914860a7f2f07324c220ff06364f9294e0c')
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
install -Dm644 bin/pla-util "$pkgdir"/usr/bin/pla-util
install -Dm644 completions/pla-util "$pkgdir"/usr/share/bash-completion/completions/pla-util
}
# vim:set ts=2 sw=2 et: