add ethtool

upg feh mariadb python-six
This commit is contained in:
joborun linux 2022-08-24 00:42:20 +03:00
parent 2d4811b149
commit 6b8588dbe9
16 changed files with 137 additions and 62 deletions

44
ethtool/PKGBUILD Normal file
View File

@ -0,0 +1,44 @@
#!/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=ethtool
pkgver=5.19
pkgrel=01
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
arch=('x86_64')
url="https://www.kernel.org/pub/software/network/ethtool/"
depends=('glibc' 'libmnl')
source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
#---- license gpg-key sha256sums ----
license=('GPL')
validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806 # John W. Linville <linville@kernel.org>
D2CB120AB45957B721CD9596F4554567B91DE934) # Michal Kubecek <mkubecek@suse.cz>
sha256sums=(3b752a3329827907ac3812f2831dfecf51c8c41c55d2d69cfb9c53ca06449fc6 # ethtool-5.19.tar.xz
9d77ba0dd17177e0b6565f97ba3d6cff58a0a9a0f88740e75969ba594515a0df) # ethtool-5.19.tar.sign

34
ethtool/PKGBUILD-arch Normal file
View File

@ -0,0 +1,34 @@
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Martin Kemp <mdkemp@elys.com>
pkgname=ethtool
pkgver=5.19
pkgrel=1
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
arch=('x86_64')
url="https://www.kernel.org/pub/software/network/ethtool/"
license=('GPL')
depends=('glibc' 'libmnl')
source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
sha1sums=('00bfe4a24c7d8ddf94d87407cc54a58e9c8947d5'
'SKIP')
validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806 # John W. Linville <linville@kernel.org>
D2CB120AB45957B721CD9596F4554567B91DE934) # Michal Kubecek <mkubecek@suse.cz>
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}

1
ethtool/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {etht*tar.*,src,pkg}

2
ethtool/deps Normal file
View File

@ -0,0 +1,2 @@

1
ethtool/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-keys E77F2C1BF2D17695

6
ethtool/time Normal file
View File

@ -0,0 +1,6 @@
real 0m24.941s
user 0m20.646s
sys 0m1.973s

View File

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=feh
pkgver=3.9
pkgrel=01
pkgver=3.9.1
pkgrel=02
pkgdesc='Fast and light imlib2-based image viewer'
url='https://feh.finalrewind.org/'
arch=('x86_64')
@ -16,8 +16,8 @@ depends=('curl' 'file' 'imlib2' 'libexif' 'libxinerama')
optdepends=('imagemagick: support more file formats'
'jpegexiforient: set exif rotation tag')
makedepends=('libxt')
#options=('debug') ### uncomment this line to have the debug pkg produced
source=(${url}$pkgname-$pkgver.tar.bz2{,.asc})
# '0001-libmagic.patch')
#prepare() {
@ -48,8 +48,8 @@ license=('custom:MIT')
validpgpkeys=('781BB7071C6BF648EAEB08A1100D5BFB5166E005')
sha256sums=(8649962c41d2c7ec4cc3f438eb327638a1820ad5a66df6a9995964601ae6bca0 # feh-3.9.tar.bz2
f8b7366c2175c53e581059a06d04cb484419dd8e499136127b7564c8b446a996) # feh-3.9.tar.bz2.asc
sha256sums=(455c92711b588af149b945edc5c145f3e9aa137ed9689dabed49d5e4acac75fa # feh-3.9.1.tar.bz2
0086e29cef7d20e38b9bd8b6fc3fe9770e0913cad2a5fed59c123dd3b1a47ad2) # feh-3.9.1.tar.bz2.asc
# cc2c7ca77c710001339cceb78225119e910bc6949ab2a3380b90caf84c0d3e41) # 0001-libmagic.patch

View File

@ -4,8 +4,8 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=feh
pkgver=3.9
pkgrel=1
pkgver=3.9.1
pkgrel=2
pkgdesc='Fast and light imlib2-based image viewer'
url='https://feh.finalrewind.org/'
license=('custom:MIT')
@ -14,9 +14,10 @@ depends=('curl' 'file' 'imlib2' 'libexif' 'libxinerama')
optdepends=('imagemagick: support more file formats'
'jpegexiforient: set exif rotation tag')
makedepends=('libxt')
options=('debug')
validpgpkeys=('781BB7071C6BF648EAEB08A1100D5BFB5166E005')
source=("${url}${pkgname}-${pkgver}.tar.bz2"{,.asc})
sha256sums=('8649962c41d2c7ec4cc3f438eb327638a1820ad5a66df6a9995964601ae6bca0'
sha256sums=('455c92711b588af149b945edc5c145f3e9aa137ed9689dabed49d5e4acac75fa'
'SKIP')
build() {

6
feh/time Normal file
View File

@ -0,0 +1,6 @@
real 0m13.872s
user 0m7.603s
sys 0m0.847s

View File

@ -8,7 +8,7 @@
pkgbase=mariadb
pkgname=('mariadb-libs' 'mariadb-clients' 'mariadb' 'mytop')
pkgdesc='Fast SQL database server, derived from MySQL w/o systemd and zstd'
pkgver=10.8.4
pkgver=10.9.2
pkgrel=01
arch=('x86_64')
url='https://mariadb.org/'
@ -242,8 +242,9 @@ license=('GPL')
validpgpkeys=('199369E5404BD5FC7D2FE43BCBCB082A1BB943DB') # MariaDB Package Signing Key <package-signing-key@mariadb.org>
sha256sums=(65ec60ca36588ecd11cd8c3fc0ce35e1d603029e12378cf88baa865fd0891166 # mariadb-10.8.4.tar.gz
708ea73fde6474d40177317959f45f918b61f9012d3e328486e682f6013a1ff7 # mariadb-10.8.4.tar.gz.asc
sha256sums=(5f45ff75e043966555a95fbdb8f092e60ce2a6c47ba59d144db46e138e922f48 # mariadb-10.9.2.tar.gz
91f7dd7cb9193ced572ea591f75ea8d58124ca08c81639b42437e2de61dab2da # mariadb-10.9.2.tar.gz.asc
711b4e7cf40e2b1ab132655a8d64f5a721027296f7a5731ffa70b504b3d805cd # mariadb.sysusers.conf
5ff8916c32c87ac45f05171669ff94e5a1a81c6bd7e6516b63fd9db8723916fc) # mariadb.tmpfile.conf

View File

@ -4,7 +4,7 @@
pkgbase=mariadb
pkgname=('mariadb-libs' 'mariadb-clients' 'mariadb' 'mytop')
pkgdesc='Fast SQL database server, derived from MySQL'
pkgver=10.8.4
pkgver=10.9.2
pkgrel=1
arch=('x86_64')
license=('GPL')
@ -19,7 +19,7 @@ validpgpkeys=('199369E5404BD5FC7D2FE43BCBCB082A1BB943DB') # MariaDB Package Sign
# https://mariadb.com/kb/en/library/mirror-sites-for-mariadb/
source=("https://rsync.osuosl.org/pub/mariadb/mariadb-${pkgver}/source/mariadb-${pkgver}.tar.gz"{,.asc}
'0001-arch-specific.patch')
sha256sums=('65ec60ca36588ecd11cd8c3fc0ce35e1d603029e12378cf88baa865fd0891166'
sha256sums=('5f45ff75e043966555a95fbdb8f092e60ce2a6c47ba59d144db46e138e922f48'
'SKIP'
'3289efb3452d199aec872115f35da3f1d6fd4ce774615076690e9bc8afae1460')

View File

@ -1,5 +1,6 @@
real 41m48.430s
user 153m0.512s
sys 7m11.565s
real 92m32.734s
user 90m10.809s
sys 4m21.781s

View File

@ -5,40 +5,32 @@
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=python-six
pkgname=('python2-six' 'python-six')
#pkgbase=python-six
pkgname=python-six
#pkgname=('python2-six' 'python-six')
pkgver=1.16.0
pkgrel=05
pkgrel=06
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="https://pypi.python.org/pypi/six/"
makedepends=('python-setuptools' 'python2-setuptools')
depends=('python')
makedepends=('python-setuptools') # 'python2-setuptools')
checkdepends=('python-pytest' 'tk')
source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
build() {
cp -a six-$pkgver{,-py2}
}
#build() {
# cp -a six-$pkgver{,-py2}
#}
check() {
cd "$srcdir"/six-$pkgver
cd six-$pkgver
python -m pytest
}
package_python-six() {
depends=('python')
package() {
cd six-$pkgver
python setup.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-six() {
depends=('python2')
cd six-$pkgver-py2
python2 setup.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
#---- license gpg-key sha256sums ----
@ -48,3 +40,4 @@ license=('MIT')
sha512sums=('076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0')
sha256sums=(1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926) # six-1.16.0.tar.gz

View File

@ -2,40 +2,26 @@
# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
# Contributer: Allan McRae <allan@archlinux.org>
pkgbase=python-six
pkgname=('python2-six' 'python-six')
pkgname=python-six
pkgver=1.16.0
pkgrel=5
pkgrel=6
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="https://pypi.python.org/pypi/six/"
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'tk')
source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
sha512sums=('076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0')
build() {
cp -a six-$pkgver{,-py2}
}
check() {
cd "$srcdir"/six-$pkgver
cd six-$pkgver
python -m pytest
}
package_python-six() {
depends=('python')
package() {
cd six-$pkgver
python setup.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-six() {
depends=('python2')
cd six-$pkgver-py2
python2 setup.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}

View File

@ -1,4 +1,3 @@
python-setuptools
python2-setuptools
python-pytest
tk

View File

@ -1,6 +1,6 @@
real 0m5.170s
user 0m4.968s
sys 0m0.479s
real 0m5.242s
user 0m3.450s
sys 0m0.291s