added libbpf lowdown python-zipp
This commit is contained in:
parent
6814802bdc
commit
ebcc087cbf
15 changed files with 254 additions and 4 deletions
35
libbpf/PKGBUILD
Normal file
35
libbpf/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=libbpf
|
||||
pkgver=0.7.0
|
||||
pkgrel=01
|
||||
pkgdesc='Library for loading eBPF programs and reading and manipulating eBPF objects from user-space'
|
||||
url='https://github.com/libbpf/libbpf'
|
||||
arch=('x86_64')
|
||||
depends=('glibc' 'libelf' 'linux-api-headers')
|
||||
makedepends=('rsync')
|
||||
provides=('libbpf.so')
|
||||
source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make -C src
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make -C src DESTDIR="${pkgdir}" LIBSUBDIR=lib install install_headers
|
||||
install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('LGPL2.1')
|
||||
|
||||
sha256sums=(5083588ce5a3a620e395ee1e596af77b4ec5771ffc71cff2af49dfee38c06361) # libbpf-0.7.0.tar.gz
|
30
libbpf/PKGBUILD-arch
Normal file
30
libbpf/PKGBUILD-arch
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: Adrian Bacircea <adrian.bacircea@gmail.com>
|
||||
|
||||
pkgname=libbpf
|
||||
pkgver=0.7.0
|
||||
pkgrel=1
|
||||
pkgdesc='Library for loading eBPF programs and reading and manipulating eBPF objects from user-space'
|
||||
url='https://github.com/libbpf/libbpf'
|
||||
arch=('x86_64')
|
||||
license=('LGPL2.1')
|
||||
depends=('glibc' 'libelf' 'linux-api-headers')
|
||||
makedepends=('rsync')
|
||||
provides=('libbpf.so')
|
||||
source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha512sums=('9677cd42124766713d8d773ebef1fc1782a167f2469e48d83ad28a68f7f8fb5f840aad62ffe27c4cd5acba34dfa969c21e8cf6390d7832a378f87a63607eee76')
|
||||
b2sums=('e35116d622f3bb7dda0d5f6fbcae776277a5154a3c75d26dec325dcd7795826cbe69344da7fd19f2ab60a54225d4a77e64d4d5a6cb14dfd20e6372ac16ebc868')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make -C src
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make -C src DESTDIR="${pkgdir}" LIBSUBDIR=lib install install_headers
|
||||
install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
1
libbpf/clean
Normal file
1
libbpf/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,libbpf*.gz}
|
1
libbpf/deps
Normal file
1
libbpf/deps
Normal file
|
@ -0,0 +1 @@
|
|||
rsync
|
4
libbpf/time
Normal file
4
libbpf/time
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
real 0m7.538s
|
||||
user 0m21.469s
|
||||
sys 0m0.771s
|
63
lowdown/PKGBUILD
Normal file
63
lowdown/PKGBUILD
Normal file
|
@ -0,0 +1,63 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=lowdown
|
||||
pkgdesc="A simple Markdown translator"
|
||||
pkgver=0.11.2
|
||||
pkgrel=01
|
||||
url="https://kristaps.bsd.lv/lowdown"
|
||||
arch=('x86_64')
|
||||
depends=('glibc' 'libmd')
|
||||
makedepends=('git')
|
||||
_commit='cc1cb9849e84265e21c6c659f3edab5c8058894f'
|
||||
source=("$pkgname::git+https://github.com/kristapsdz/lowdown.git#commit=$_commit")
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
|
||||
git describe --tags | sed -e 's/^VERSION_//' -e 's/_/./g'
|
||||
}
|
||||
|
||||
build () {
|
||||
cd "$pkgname"
|
||||
|
||||
./configure \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man
|
||||
|
||||
# ensure LDFLAGS is passed correctly
|
||||
sed -i "s/^LDFLAGS.*/LDFLAGS = $LDFLAGS/" Makefile.configure
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check () {
|
||||
make -C "$pkgname" regress
|
||||
}
|
||||
|
||||
package () {
|
||||
cd "$pkgname"
|
||||
|
||||
# package
|
||||
make DESTDIR="$pkgdir" \
|
||||
install \
|
||||
install_lib_common \
|
||||
install_shared
|
||||
|
||||
# symlink unversioned to versioned shared library
|
||||
local LIBVER=$(grep "^LIBVER" Makefile | sed "s/.*= //")
|
||||
ln -sf "/usr/lib/liblowdown.so.$LIBVER" "$pkgdir/usr/lib/liblowdown.so"
|
||||
|
||||
# license
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('ISC')
|
||||
|
||||
sha256sums=(SKIP)
|
55
lowdown/PKGBUILD-arch
Normal file
55
lowdown/PKGBUILD-arch
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
||||
# Contributor: Adrián Pérez de Castro <aperez@igalia.com>
|
||||
|
||||
pkgname=lowdown
|
||||
pkgdesc="A simple Markdown translator"
|
||||
pkgver=0.11.2
|
||||
pkgrel=1
|
||||
license=('ISC')
|
||||
url="https://kristaps.bsd.lv/lowdown"
|
||||
arch=('x86_64')
|
||||
depends=('glibc' 'libmd')
|
||||
makedepends=('git')
|
||||
_commit='cc1cb9849e84265e21c6c659f3edab5c8058894f'
|
||||
source=("$pkgname::git+https://github.com/kristapsdz/lowdown.git#commit=$_commit")
|
||||
b2sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
|
||||
git describe --tags | sed -e 's/^VERSION_//' -e 's/_/./g'
|
||||
}
|
||||
|
||||
build () {
|
||||
cd "$pkgname"
|
||||
|
||||
./configure \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man
|
||||
|
||||
# ensure LDFLAGS is passed correctly
|
||||
sed -i "s/^LDFLAGS.*/LDFLAGS = $LDFLAGS/" Makefile.configure
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check () {
|
||||
make -C "$pkgname" regress
|
||||
}
|
||||
|
||||
package () {
|
||||
cd "$pkgname"
|
||||
|
||||
# package
|
||||
make DESTDIR="$pkgdir" \
|
||||
install \
|
||||
install_lib_common \
|
||||
install_shared
|
||||
|
||||
# symlink unversioned to versioned shared library
|
||||
local LIBVER=$(grep "^LIBVER" Makefile | sed "s/.*= //")
|
||||
ln -sf "/usr/lib/liblowdown.so.$LIBVER" "$pkgdir/usr/lib/liblowdown.so"
|
||||
|
||||
# license
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
|
||||
}
|
1
lowdown/clean
Normal file
1
lowdown/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,lowdown}
|
2
lowdown/deps
Normal file
2
lowdown/deps
Normal file
|
@ -0,0 +1,2 @@
|
|||
git
|
||||
libmd
|
4
lowdown/time
Normal file
4
lowdown/time
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
real 0m8.574s
|
||||
user 0m13.387s
|
||||
sys 0m1.257s
|
|
@ -1,17 +1,20 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=python-zipp
|
||||
pkgver=3.8.0
|
||||
pkgrel=1
|
||||
pkgrel=01
|
||||
pkgdesc="Pathlib-compatible object wrapper for zip files"
|
||||
url="https://github.com/jaraco/zipp"
|
||||
license=('MIT')
|
||||
arch=('any')
|
||||
depends=('python')
|
||||
makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-toml' 'python-wheel')
|
||||
checkdepends=('python-jaraco' 'python-func-timeout')
|
||||
source=("https://github.com/jaraco/zipp/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('25a8f78be5dbfaacdd39f0492958486aa2a5a7eb1af3724e484676fb69eeb97ca558add0d5fa1f281a11cc410f67dc3959affe903a472b0bdbc78eb753096ef0')
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
||||
|
||||
|
@ -30,3 +33,9 @@ package() {
|
|||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('MIT')
|
||||
|
||||
sha256sums=(98b140ba1f4f49c32eb6261f65ef3189d0bcca62fad28183355b6d0efb0dcb7e) # python-zipp-3.8.0.tar.gz
|
||||
|
|
32
python-zipp/PKGBUILD-arch
Normal file
32
python-zipp/PKGBUILD-arch
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=python-zipp
|
||||
pkgver=3.8.0
|
||||
pkgrel=1
|
||||
pkgdesc="Pathlib-compatible object wrapper for zip files"
|
||||
url="https://github.com/jaraco/zipp"
|
||||
license=('MIT')
|
||||
arch=('any')
|
||||
depends=('python')
|
||||
makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-toml' 'python-wheel')
|
||||
checkdepends=('python-jaraco' 'python-func-timeout')
|
||||
source=("https://github.com/jaraco/zipp/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('25a8f78be5dbfaacdd39f0492958486aa2a5a7eb1af3724e484676fb69eeb97ca558add0d5fa1f281a11cc410f67dc3959affe903a472b0bdbc78eb753096ef0')
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
||||
|
||||
build() {
|
||||
cd zipp-$pkgver
|
||||
python -m build -nw
|
||||
}
|
||||
|
||||
check() {
|
||||
cd zipp-$pkgver
|
||||
python -m unittest discover
|
||||
}
|
||||
|
||||
package() {
|
||||
cd zipp-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
}
|
1
python-zipp/clean
Normal file
1
python-zipp/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,p*.gz}
|
8
python-zipp/deps
Normal file
8
python-zipp/deps
Normal file
|
@ -0,0 +1,8 @@
|
|||
python
|
||||
python-build
|
||||
python-installer
|
||||
python-setuptools-scm
|
||||
python-toml
|
||||
python-wheel
|
||||
python-jaraco
|
||||
python-func-timeout
|
4
python-zipp/time
Normal file
4
python-zipp/time
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
real 0m2.989s
|
||||
user 0m2.673s
|
||||
sys 0m0.280s
|
Loading…
Reference in a new issue