upgpkg: adguardhome 1:0.107.43-1

upgpkg: alhp-keyring 20230504-4
upgpkg: alhp-mirrorlist 20230831-1
upgpkg: antidot 0.6.3-1
upgpkg: asus-numpad 0.4.1-6
upgpkg: coreapps-meta 1-1
upgpkg: eggdrop 1.9.3-1
upgpkg: hide-client 0.9.8-2
upgpkg: jellyfin-mpv-shim 2.6.0-1
upgpkg: mmdbinspect 0.1.1-1
upgpkg: motion-git 4.4.0.r44.db94a89-1
upgpkg: motionplus 0.1.1-4
upgpkg: mpv-shim-default-shaders 2.1.0-1
upgpkg: perl-filehandle-unget 0.1634-2
upgpkg: perl-mail-mbox-messageparser 1.5111-1
upgpkg: perl-net-ftpssl 0.42-1
upgpkg: pyfan 1.6.1-1
upgpkg: python-derpconf 0.8.4-1
upgpkg: python-jellyfin-apiclient 1.9.2-1
upgpkg: python-libthumbor 2.0.2-2
upgpkg: python-mpv-jsonipc 1.2.0-1
upgpkg: python-preggy 1.4.4-1
upgpkg: python-pyssim 0.6-1
upgpkg: python-pystray 0.19.5-1
upgpkg: python-simple-pid 1.0.1-1
upgpkg: python-socketfromfd 0.2.0-1
upgpkg: rvpk 1.1.0-1
upgpkg: thumbor 7.7.3-1
upgpkg: unvpk-git r108.1f1f44f-1
upgpkg: victoriametrics 1.93.5-1

syntax changes
This commit is contained in:
2024-01-13 16:00:20 +01:00
parent 5813ed043f
commit bc6739b9d1
36 changed files with 355 additions and 327 deletions

View File

@@ -9,11 +9,10 @@ epoch=1
pkgdesc="Network-wide ads and trackers blocking DNS server"
arch=(x86_64 aarch64 armv7h armv6h)
url="https://github.com/AdguardTeam/AdGuardHome"
license=('GPL')
license=(GPL)
source=("$pkgname-$pkgver.tar.gz::https://github.com/AdguardTeam/AdGuardHome/archive/v$pkgver.tar.gz"
"$pkgname.service"
"$pkgname.install"
)
"$pkgname.install")
makedepends=(go nodejs npm git)
depends=(glibc)
install="$pkgname.install"
@@ -47,3 +46,5 @@ package() {
mkdir "$pkgdir/etc"
ln -s "/var/lib/$pkgname/$_pkgname.yaml" "$pkgdir/etc/$pkgname.yaml"
}
# vim:set ts=2 sw=2 et:

View File

@@ -5,9 +5,9 @@ pkgver=20230504
pkgrel=4
pkgdesc='ALHP PGP keyring'
arch=(any)
url='https://somegit.dev/ALHP/alhp-keyring'
url="https://somegit.dev/ALHP/alhp-keyring"
license=(GPL)
install=$pkgname.install
install="$pkgname.install"
source=(https://f.alhp.dev/$pkgname/${pkgname}-${pkgver}.tar.gz{,.sig})
b2sums=('7c07bf6ceef73f8b6707e35714625e4613df5eae9f79d6fb494317a1eccd2613c20dba292c964a136fd4a7e78c0db970b779cc8281dd565dffd49734d9f46dd2'
'SKIP')
@@ -17,3 +17,5 @@ package() {
cd $pkgname
make PREFIX=/usr DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:

View File

@@ -4,11 +4,13 @@ pkgname=alhp-mirrorlist
pkgver=20230831
pkgrel=1
pkgdesc="ALHP mirror list for use by pacman"
arch=('any')
arch=(any)
url="https://somegit.dev/ALHP/alhp-mirrorlist"
license=('GPL')
backup=('etc/pacman.d/alhp-mirrorlist'
'etc/pacman.d/alhp-mirrorlist.ipfs')
license=(GPL)
backup=(
"etc/pacman.d/alhp-mirrorlist"
"etc/pacman.d/alhp-mirrorlist.ipfs"
)
source=("https://somegit.dev/ALHP/alhp-mirrorlist/archive/$pkgver.tar.gz")
b2sums=('b99cb6078f6bae60849df9b639ce8e25eb73832882c1880859cf599c2dc8a715b4afd6b45a677b4a114074d4c94099e0be4dfffffcec8aa159bc539da151497f')
@@ -17,3 +19,5 @@ package() {
install -m644 "$srcdir/alhp-mirrorlist/mirrorlist" "$pkgdir/etc/pacman.d/alhp-mirrorlist"
install -m644 "$srcdir/alhp-mirrorlist/mirrorlist.ipfs" "$pkgdir/etc/pacman.d/alhp-mirrorlist.ipfs"
}
# vim:set ts=2 sw=2 et:

View File

@@ -1,5 +1,5 @@
pkgbase = antidot
pkgdesc = Cleans up your $HOME from those pesky dotfiles
pkgdesc = Cleans up your /home/harting from those pesky dotfiles
pkgver = 0.6.3
pkgrel = 1
url = https://github.com/doron-cohen/antidot

View File

@@ -3,12 +3,12 @@
pkgname=antidot
pkgver=0.6.3
pkgrel=1
pkgdesc='Cleans up your $HOME from those pesky dotfiles'
arch=('x86_64')
pkgdesc="Cleans up your $HOME from those pesky dotfiles"
arch=(x86_64)
url="https://github.com/doron-cohen/$pkgname"
license=('MIT')
depends=('glibc')
makedepends=('go')
license=(MIT)
depends=(glibc)
makedepends=(go)
source=("https://github.com/doron-cohen/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('d39b0f0faaf2359dc2d15244da124dfc482d8a9f82d76802facf23bec1812e100606f24e5c832815aaf9907c0d8982b93b3894d599c58443113b532fb37a672c')
@@ -32,3 +32,5 @@ package() {
install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:

View File

@@ -6,7 +6,7 @@ pkgrel=6
pkgdesc="Linux daemon for Asus laptops to activate numpad on touchpad"
arch=(x86_64)
url="https://github.com/iamkroot/asus-numpad"
license=('MIT')
license=(MIT)
depends=(libevdev gcc-libs)
makedepends=(cargo-nightly)
source=("https://github.com/iamkroot/asus-numpad/archive/refs/tags/v$pkgver.tar.gz"

View File

@@ -27,4 +27,3 @@ pkgbase = coreapps-meta
optdepends = coretoppings: additional features and plugins
pkgname = coreapps-meta

View File

@@ -6,25 +6,28 @@ pkgrel=1
pkgdesc="CoreApps application family meta package"
arch=(any)
url="https://gitlab.com/cubocore"
license=('GPL3')
license=(GPL3)
depends=(
'coreaction'
'corearchiver'
'corefm'
'coregarage'
'corehunt'
'coreimage'
'coreinfo'
'corekeyboard'
'corepad'
'corepaint'
'corepdf'
'corepins'
'corerenamer'
'coreshot'
'corestats'
'corestuff'
'coreterminal'
'coretime'
'coreuniverse')
coreaction
corearchiver
corefm
coregarage
corehunt
coreimage
coreinfo
corekeyboard
corepad
corepaint
corepdf
corepins
corerenamer
coreshot
corestats
corestuff
coreterminal
coretime
coreuniverse
)
optdepends=('coretoppings: additional features and plugins')
# vim:set ts=2 sw=2 et:

View File

@@ -8,13 +8,16 @@ pkgname=eggdrop
pkgver=1.9.3
pkgrel=1
pkgdesc="The world's most popular Open Source IRC bot."
arch=('x86_64')
arch=(x86_64)
url="http://www.eggheads.org/"
license=('GPL2')
depends=('tcl' 'openssl' 'bash')
source=("http://ftp.eggheads.org/pub/$pkgname/source/1.9/$pkgname-$pkgver.tar.gz"
"http://ftp.eggheads.org/pub/$pkgname/source/1.9/$pkgname-$pkgver.tar.gz.asc"
'dlopen.c' 'utf8.patch')
license=(GPL2)
depends=(tcl openssl bash)
source=(
"http://ftp.eggheads.org/pub/$pkgname/source/1.9/$pkgname-$pkgver.tar.gz"
"http://ftp.eggheads.org/pub/$pkgname/source/1.9/$pkgname-$pkgver.tar.gz.asc"
'dlopen.c'
'utf8.patch'
)
backup=("etc/$pkgname.conf")
b2sums=('979190536c3c0718ef4b030d8f6df817b8ee823854c104b7d6f9009c10a7f8394d59afca40fc5c9778f130788fac7e14458d62d30a55413dea4653ca00c83f0a'
'SKIP'
@@ -64,8 +67,6 @@ package() {
readonly eggtmp="$pkgdir/tmp"
mkdir -p -m 0755 "$eggtmp"
# This is ugly..
cd "$srcdir/$pkgname-$pkgver"
make install DEST="$eggtmp"

View File

@@ -16,47 +16,47 @@ source=("https://github.com/eventure/$_pkgname/archive/$pkgver.zip")
b2sums=('ed3bc28dbc40288bfbd0ea9adb643c484e9a19bce582719834a65749ae1494d5c7c32685a1feadd6eecccc1d516d9ccaf8297192a2b464b919fde586368219ac')
prepare() {
cd "$_pkgname-$pkgver"
cd "$_pkgname-$pkgver"
sed -e "s|CA.pem|/usr/share/hide.me/CA.pem|" \
-e "s|accessToken.txt|/etc/hide.me/accessToken.txt|" \
-i configuration.go
sed -e "s|CA.pem|/usr/share/hide.me/CA.pem|" \
-e "s|accessToken.txt|/etc/hide.me/accessToken.txt|" \
-i configuration.go
sed -e "s|/opt/hide.me/hide.me|/usr/bin/hide.me|" \
-e "s|WorkingDirectory=/opt/hide.me|WorkingDirectory=/etc/hide.me|" \
-e "s|ReadWritePaths=/opt/hide.me /etc|ReadWritePaths=/etc/hide.me|" \
-e "s|/opt/hide.me/config|/etc/hide.me/config|" \
-i 'hide.me@.service'
sed -e "s|/opt/hide.me/hide.me|/usr/bin/hide.me|" \
-e "s|WorkingDirectory=/opt/hide.me|WorkingDirectory=/etc/hide.me|" \
-e "s|ReadWritePaths=/opt/hide.me /etc|ReadWritePaths=/etc/hide.me|" \
-e "s|/opt/hide.me/config|/etc/hide.me/config|" \
-i 'hide.me@.service'
}
build() {
cd "$_pkgname-$pkgver"
cd "$_pkgname-$pkgver"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
go build \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-o hide.me \
.
go build \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-o hide.me \
.
}
package() {
cd "$_pkgname-$pkgver"
cd "$_pkgname-$pkgver"
install -Dm755 -t "$pkgdir"/usr/bin hide.me
install -Dm644 -t "$pkgdir"/usr/share/hide.me CA.pem
install -Dm755 -t "$pkgdir"/usr/bin hide.me
install -Dm644 -t "$pkgdir"/usr/share/hide.me CA.pem
# For (system-wide) accessToken.txt
install -dm755 "$pkgdir"/etc/hide.me
install -Dm644 -t "$pkgdir"/etc/hide.me config
install -Dm644 -t "$pkgdir"/usr/lib/systemd/system hide.me@.service
# For (system-wide) accessToken.txt
install -dm755 "$pkgdir"/etc/hide.me
install -Dm644 -t "$pkgdir"/etc/hide.me config
install -Dm644 -t "$pkgdir"/usr/lib/systemd/system hide.me@.service
}
# vim:set ts=2 sw=2 et:

View File

@@ -5,41 +5,44 @@ pkgname=jellyfin-mpv-shim
pkgver=2.6.0
pkgrel=1
pkgdesc="Cast media from Jellyfin Mobile and Web apps to MPV"
arch=('any')
arch=(any)
url='https://github.com/jellyfin/jellyfin-mpv-shim'
license=('MIT')
depends=('mpv' 'python>=3.6' 'python-mpv' 'python-mpv-jsonipc>=1.1.9' 'python-jellyfin-apiclient>=1.8.1' 'tk')
makedepends=('python-setuptools' 'gettext')
optdepends=('python-pystray: systray support'
'python-jinja: display mirroring support'
'python-pywebview>=3.3.1: display mirroring support'
'svp: SmoothVideo Project server'
'mpv-shim-default-shaders: default shader pack'
'python-pypresence: Discord Rich Presence integration')
license=(MIT)
depends=(mpv 'python>=3.6' python-mpv 'python-mpv-jsonipc>=1.1.9' 'python-jellyfin-apiclient>=1.8.1' tk)
makedepends=(python-setuptools gettext)
optdepends=(
'python-pystray: systray support'
'python-jinja: display mirroring support'
'python-pywebview>=3.3.1: display mirroring support'
'svp: SmoothVideo Project server'
'mpv-shim-default-shaders: default shader pack'
'python-pypresence: Discord Rich Presence integration'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-mpv-shim/archive/v$pkgver.tar.gz")
b2sums=('13c6623b4a83f1c596034b14a3cef1d8c0bd7651024c3c9fcba4fdde332f6b350e34fa18d4de075953e46ac2ec33624bcfa0c43b8887c21d14de682d04830a07')
build() {
cd "${srcdir}/jellyfin-mpv-shim-${pkgver}"
find -iname '*.po' | while read -r _file; do
msgfmt "$_file" -o "${_file%.*}.mo"
done
python setup.py build
cd "${srcdir}/jellyfin-mpv-shim-${pkgver}"
find -iname '*.po' | while read -r _file; do
msgfmt "$_file" -o "${_file%.*}.mo"
done
python setup.py build
}
package() {
cd "${srcdir}/jellyfin-mpv-shim-${pkgver}"
install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
cd "${srcdir}/jellyfin-mpv-shim-${pkgver}"
install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
for i in 16 32 48 64 128 256; do
install -Dvm644 jellyfin_mpv_shim/integration/jellyfin-$i.png \
"$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/com.github.iwalton3.jellyfin-mpv-shim.png"
done
for i in 16 32 48 64 128 256; do
install -Dvm644 jellyfin_mpv_shim/integration/jellyfin-$i.png "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/com.github.iwalton3.jellyfin-mpv-shim.png"
done
install -Dm644 jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
cd "${pkgdir}"
_sitepkg="usr/lib/$(ls usr/lib/ | grep python)/site-packages/jellyfin_mpv_shim"
ln -s "/usr/share/mpv-shim-default-shaders" "$_sitepkg/default_shader_pack"
cd "${pkgdir}"
_sitepkg="usr/lib/$(ls usr/lib/ | grep python)/site-packages/jellyfin_mpv_shim"
ln -s "/usr/share/mpv-shim-default-shaders" "$_sitepkg/default_shader_pack"
}
# vim:set ts=2 sw=2 et:

View File

@@ -6,32 +6,33 @@ pkgrel=1
pkgdesc="look up records for one or more IPs/networks in one or more .mmdb databases"
arch=(x86_64 aarch64 armv7h armv6h)
url="https://github.com/maxmind/mmdbinspect"
license=('Apache')
license=(Apache)
depends=(glibc)
makedepends=(go)
source=("https://github.com/maxmind/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('3e3e8c5a9d7bf256e1700323f968589f066a187d0ca29fad5fb811431de4874e1918841862ef3ea497b9c7c0b32da16c4e5c737a5399330cf655bec2e0de1998')
build() {
cd "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
go build \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-o $pkgname \
cmd/mmdbinspect/main.go
go build \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-o $pkgname \
cmd/mmdbinspect/main.go
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 -t "$pkgdir"/usr/bin $pkgname
cd "$pkgname-$pkgver"
install -Dm755 -t "$pkgdir"/usr/bin $pkgname
}
# vim:set ts=2 sw=2 et:

View File

@@ -8,11 +8,11 @@ pkgname=motion-git
pkgver=4.4.0.r44.db94a89
pkgrel=1
pkgdesc="Monitor and record video signals from many types of cameras"
arch=('x86_64')
license=('GPL')
arch=(x86_64)
license=(GPL)
url="https://motion-project.github.io"
conflicts=(motion)
depends=('sqlite' 'ffmpeg' 'libmicrohttpd' 'libwebp' 'mariadb-libs')
depends=(sqlite ffmpeg libmicrohttpd libwebp mariadb-libs)
makedepends=(git)
optdepends=('gettext: native language support')
backup=('etc/motion/motion.conf')
@@ -50,3 +50,5 @@ package(){
install -Dm644 "$srcdir"/motion.sysusers "$pkgdir"/usr/lib/sysusers.d/motion.conf
install -Dm644 "$srcdir"/motion.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/motion.conf
}
# vim:set ts=2 sw=2 et:

View File

@@ -4,10 +4,10 @@ pkgname=motionplus
pkgver=0.1.1
pkgrel=4
pkgdesc="Monitor and record video signals from many types of cameras"
arch=('x86_64')
license=('GPL')
arch=(x86_64)
license=(GPL)
url="https://github.com/Motion-Project/motionplus"
depends=('sqlite' 'ffmpeg' 'libmicrohttpd' 'libwebp' 'postgresql-libs' 'mariadb-libs')
depends=(sqlite ffmpeg libmicrohttpd libwebp postgresql-libs mariadb-libs)
optdepends=('gettext: native language support')
backup=('etc/motionplus/motionplus.conf')
source=("https://github.com/Motion-Project/motionplus/archive/refs/tags/release-0.1.1.tar.gz"
@@ -19,13 +19,11 @@ b2sums=('7fcc10bc87948108141acb3f3b4d8ca1759b365c3a220e0eb8c0ff92cf0091e50737ac6
prepare() {
cd $pkgname-release-$pkgver
patch -Np1 -i "$srcdir"/af632f831127499ee541d9c719a930321718f294.patch
}
build() {
cd $pkgname-release-$pkgver
export TEMP_LDFLAGS="$LDFLAGS"
autoreconf -fi
./configure --prefix=/usr \
@@ -39,3 +37,5 @@ package(){
install -Dm644 data/motionplus-dist.conf "$pkgdir"/etc/motionplus/motionplus.conf
install -Dm644 "$srcdir"/motionplus.service "$pkgdir"/usr/lib/systemd/system/motionplus.service
}
# vim:set ts=2 sw=2 et:

View File

@@ -2,12 +2,12 @@
# Contributor: Marius Lindvall <(firstname) {cat} varden {dog} info>
pkgname=mpv-shim-default-shaders
pkgver='2.1.0'
pkgver=2.1.0
pkgrel=1
pkgdesc="Preconfigured set of MPV shaders and configurations for MPV Shim media clients."
arch=('any')
arch=(any)
url='https://github.com/iwalton3/default-shader-pack'
license=('custom')
license=(custom)
source=("$pkgname-$pkgver.tar.gz::https://github.com/iwalton3/default-shader-pack/archive/v$pkgver.tar.gz"
"FSRCNNX-LICENSE::https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE"
"Anime4K-LICENSE::https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE"
@@ -21,27 +21,29 @@ b2sums=('201422f2adb989b52bb0691a495f4e8a4de9e5ea9cbc87c61d9b7528ad92a8f9f219795
options=(!strip)
prepare() {
# extract licenses from gist-sourced shaders
head -n 14 "default-shader-pack-${pkgver}/shaders/KrigBilateral.glsl" > KrigBilateral-LICENSE
head -n 14 "default-shader-pack-${pkgver}/shaders/SSimDownscaler.glsl" > SSimDownscaler-LICENSE
head -n 19 "default-shader-pack-${pkgver}/shaders/FSR.glsl" > FidelityFX-LICENSE
head -n 20 "default-shader-pack-${pkgver}/shaders/NVScaler.glsl" > NVScaler-LICENSE
# extract licenses from gist-sourced shaders
head -n 14 "default-shader-pack-${pkgver}/shaders/KrigBilateral.glsl" > KrigBilateral-LICENSE
head -n 14 "default-shader-pack-${pkgver}/shaders/SSimDownscaler.glsl" > SSimDownscaler-LICENSE
head -n 19 "default-shader-pack-${pkgver}/shaders/FSR.glsl" > FidelityFX-LICENSE
head -n 20 "default-shader-pack-${pkgver}/shaders/NVScaler.glsl" > NVScaler-LICENSE
}
package() {
mkdir -p "$pkgdir/usr/share/$pkgname"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
mkdir -p "$pkgdir/usr/share/$pkgname"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
install -Dm 644 "FSRCNNX-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "Anime4K-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "StaticGrain-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "NNEDI3-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "KrigBilateral-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "SSimDownscaler-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "FidelityFX-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "NVScaler-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "FSRCNNX-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "Anime4K-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "StaticGrain-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "NNEDI3-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "KrigBilateral-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "SSimDownscaler-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "FidelityFX-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 "NVScaler-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
cd "${srcdir}/default-shader-pack-${pkgver}"
install -Dm 644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/"
cp -r shaders pack.json pack-hq.json pack-next.json "$pkgdir/usr/share/$pkgname/"
cd "${srcdir}/default-shader-pack-${pkgver}"
install -Dm 644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/"
cp -r shaders pack.json pack-hq.json pack-next.json "$pkgdir/usr/share/$pkgname/"
}
# vim:set ts=2 sw=2 et:

View File

@@ -6,31 +6,34 @@ pkgname=perl-filehandle-unget
pkgver=0.1634
pkgrel=2
pkgdesc="FileHandle which supports multi-byte unget"
arch=('any')
arch=(any)
url="http://search.cpan.org/dist/$_perlmod"
license=('GPL' 'PerlArtistic')
depends=('perl')
checkdepends=('perl-test-compile' 'perl-file-slurper')
options=('!emptydirs')
license=(GPL PerlArtistic)
depends=(perl)
checkdepends=(perl-test-compile perl-file-slurper)
options=(!emptydirs)
source=("http://cpan.perl.org/modules/by-module/$_modnamespace/$_perlmod-$pkgver.tar.gz")
b2sums=('b7f4993e1247ac5b80828ba56137acde6660576934d42abb9628ef4afbd82b69849a95670625ce56044c12636fc81b5aab4297135b17cc4af2f4651beabaff4a')
build() {
cd "$srcdir/$_perlmod-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
/usr/bin/perl Makefile.PL
make
}
check() {
cd "$srcdir/$_perlmod-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "$srcdir/$_perlmod-$pkgver"
make install DESTDIR="$pkgdir/"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}
# vim:set ts=2 sw=2 et:

View File

@@ -1,42 +1,40 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
pkgname='perl-mail-mbox-messageparser'
pkgver='1.5111'
pkgrel='1'
pkgname=perl-mail-mbox-messageparser
pkgver=1.5111
pkgrel=1
pkgdesc="A fast and simple mbox folder reader"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-filehandle-unget')
checkdepends=('perl-test-compile' 'perl-text-diff' 'perl-test-pod' 'perl-test-pod-coverage')
url='http://search.cpan.org/dist/Mail-Mbox-MessageParser'
source=('http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/Mail-Mbox-MessageParser-1.5111.tar.gz')
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=(perl-filehandle-unget)
checkdepends=(perl-test-compile perl-text-diff perl-test-pod perl-test-pod-coverage)
url="http://search.cpan.org/dist/Mail-Mbox-MessageParser"
source=("http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/Mail-Mbox-MessageParser-1.5111.tar.gz")
sha512sums=('c0b0c4066da3be2d8b669eed1a527309aefbbedf08531cd8eb524db37319532df75719784a557929adc409fc680a384d731f8b06768020a18855e34f392d6d0f')
_distdir="Mail-Mbox-MessageParser-1.5111"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
cd "$srcdir/$_distdir"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
/usr/bin/perl Makefile.PL
make
}
check() {
cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "$srcdir/$_distdir"
make install
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
}
# vim:set ts=2 sw=2 et:

View File

@@ -1,15 +1,15 @@
# Maintainer: Giovanni Harting <539 at idlegandalf dot com>
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=perl-net-ftpssl
pkgver=0.42
pkgrel=1
pkgdesc='NET::FTPSSL perl module.'
pkgdesc="NET::FTPSSL perl module."
_dist=Net-FTPSSL
arch=('any')
arch=(any)
url="https://metacpan.org/release/$_dist"
license=('GPL' 'PerlArtistic')
license=(GPL PerlArtistic)
depends=(perl perl-net-ssleay perl-io-socket-ssl)
options=('!emptydirs' purge)
options=(!emptydirs purge)
source=("http://search.cpan.org/CPAN/authors/id/C/CL/CLEACH/$_dist-$pkgver.tar.gz")
b2sums=('266b9502576b9054dd330182f636da62af54436f7d4844fecfc15840b66ec07215d29c02f70c745a70867bbd74b0aa28862a989c32f52be78ceb56aa86605f0a')
@@ -34,3 +34,4 @@ package() {
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}
# vim:set ts=2 sw=2 et:

View File

@@ -4,10 +4,10 @@ pkgname=pyfan
pkgver=1.6.1
pkgrel=1
pkgdesc="Fan control utilising hwmon and pid"
arch=('any')
arch=(any)
url="https://somegit.dev/anonfunc/PyFan"
license=('GPL3')
depends=('python-yaml' 'python-simple-pid')
license=(GPL3)
depends=(python-yaml python-simple-pid)
optdepends=('lm_sensors: check and load required hwmon modules')
backup=('etc/pyfan')
source=("https://somegit.dev/anonfunc/PyFan/archive/$pkgver.tar.gz")
@@ -15,9 +15,10 @@ b2sums=('c7ff904568196657c78acb1d690b3437b6a5e0cd2eb3355988b618426d6a225e357d26b
package() {
cd "$pkgname"
install -Dm755 pyfan.py "${pkgdir}/usr/bin/pyfan.py"
install -Dm644 pyfan.service "${pkgdir}/usr/lib/systemd/system/pyfan.service"
install -Dm644 config-example.yaml "${pkgdir}/usr/share/doc/$pkgname/config-example.yaml"
install -Dm644 README.md "${pkgdir}/usr/share/doc/$pkgname/README"
}
# vim:set ts=2 sw=2 et:

View File

@@ -5,22 +5,23 @@ _name=${pkgname#python-}
pkgver=0.8.4
pkgrel=1
pkgdesc="abstract loading of configuration files"
arch=('any')
arch=(any)
url="https://github.com/globocom/derpconf"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
license=(MIT)
depends=(python)
makedepends=(python-setuptools)
source=("https://github.com/globocom/derpconf/archive/$pkgver.tar.gz")
b2sums=('d0457481147a3ed8fa059f7022fede1577eca70a2818560e662715c58d995bee6a972925b01566d8f564f807ba8885a53a5e162de96f698ef9b7aaeb35f9da3b')
build() {
cd $_name-$pkgver
python setup.py build
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:

View File

@@ -5,11 +5,11 @@ pkgname=python-jellyfin-apiclient
pkgver=1.9.2
pkgrel=1
pkgdesc="Python API client for Jellyfin"
arch=('any')
arch=(any)
url='https://github.com/iwalton3/jellyfin-apiclient-python'
license=('GPL3')
depends=('python>=3.6' 'python-requests' 'python-urllib3' 'python-websocket-client' 'python-six' 'python-certifi')
makedepends=('python-setuptools')
license=(GPL3)
depends=('python>=3.6' python-requests python-urllib3 python-websocket-client python-six python-certifi)
makedepends=(python-setuptools)
source=("https://pypi.python.org/packages/source/j/jellyfin-apiclient-python/jellyfin-apiclient-python-$pkgver.tar.gz")
b2sums=('4d8547e33a151678824abf6bc055dee984f61c7b550fa404751c648f53817b291260ec855d0788e46c3cdf1f3b907832fb65a7ffbf84fbdb56fa0ccdee25fcc9')
@@ -20,5 +20,5 @@ build() {
package() {
cd "${srcdir}/jellyfin-apiclient-python-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
python setup.py install --root="$pkgdir" --optimize=1
}

View File

@@ -7,19 +7,21 @@ pkgrel=2
pkgdesc="Python's extensions to thumbor"
arch=(any)
url="https://github.com/thumbor/libthumbor"
license=('MIT')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-poetry' 'python-poetry-core')
license=(MIT)
depends=(python)
makedepends=(python-build python-installer python-poetry python-poetry-core)
source=("https://github.com/thumbor/libthumbor/archive/$pkgver.tar.gz")
b2sums=('7682aeff1b7ea0cb026d08c16e73ffed2f3b9d59aa2329ca7d3fcb910860c9f495de53cfb17b651402af5e7166043634c1df334b8a8cc2c912a352b9e36157a1')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation --skip-dependency-check
cd "$_name-$pkgver"
python -m build --wheel --no-isolation --skip-dependency-check
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:

View File

@@ -4,20 +4,22 @@ pkgname=python-mpv-jsonipc
pkgver=1.2.0
pkgrel=1
pkgdesc="Python API to MPV using JSON IPC"
arch=('any')
url='https://github.com/iwalton3/python-mpv-jsonipc'
license=('GPL3')
depends=('python')
makedepends=('python-setuptools')
arch=(any)
url="https://github.com/iwalton3/python-mpv-jsonipc"
license=(GPL3)
depends=(python)
makedepends=(python-setuptools)
source=("$pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
b2sums=('5c746fc9a43638b237c5e2e470260b274e1f195cbed8593a7e523b4055b629c6015fc0d8d9d05324eff74e5ca36e51c74d7d8e2f2a236eefce5f81408cd025e9')
build() {
cd $pkgname-$pkgver
python setup.py build
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
cd $pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
# vim:set ts=2 sw=2 et:

View File

@@ -2,7 +2,7 @@ pkgbase = python-preggy
pkgdesc = assertion library for Python
pkgver = 1.4.4
pkgrel = 1
url = https://pypi.org/project/preggy
url = https://github.com/heynemann/preggy
arch = any
license = MIT
checkdepends = python-pytest
@@ -10,7 +10,7 @@ pkgbase = python-preggy
depends = python-six
depends = python-colorama
depends = python-unidecode
source = https://files.pythonhosted.org/packages/source/p/preggy/preggy-1.4.4.tar.gz
b2sums = ed656f848349c0cdb0f44151ded15db1b68b7358a4633417a6889b4be9397dc0de96dbd5f43bb26f748d9cd4f16532f1954f3978690afa9e792ce24fbe942b20
source = https://github.com/heynemann/preggy/archive/refs/tags/1.4.4.tar.gz
b2sums = 8d600e1c1e1e2948c31e7dbec907d87bd3590dfdecb22ee22a3f75ca65f22d50bc204fd0751327ac8ca22856d84f2ee7ddc1b42710f956e9c22b3e72d6047a65
pkgname = python-preggy

View File

@@ -5,29 +5,29 @@ _name=${pkgname#python-}
pkgver=1.4.4
pkgrel=1
pkgdesc="assertion library for Python"
arch=('any')
url="https://pypi.org/project/preggy"
license=('MIT')
arch=(any)
url="https://github.com/heynemann/preggy"
license=(MIT)
depends=(python-six python-colorama python-unidecode)
makedepends=('python-setuptools')
makedepends=(python-setuptools)
checkdepends=(python-pytest)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name//-/_}-$pkgver.tar.gz")
b2sums=('ed656f848349c0cdb0f44151ded15db1b68b7358a4633417a6889b4be9397dc0de96dbd5f43bb26f748d9cd4f16532f1954f3978690afa9e792ce24fbe942b20')
source=("https://github.com/heynemann/preggy/archive/refs/tags/$pkgver.tar.gz")
b2sums=('8d600e1c1e1e2948c31e7dbec907d87bd3590dfdecb22ee22a3f75ca65f22d50bc204fd0751327ac8ca22856d84f2ee7ddc1b42710f956e9c22b3e72d6047a65')
build() {
cd $_name-$pkgver
python setup.py build
cd $_name-$pkgver
python setup.py build
}
check() {
cd $_name-$pkgver
pytest
cd $_name-$pkgver
pytest
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
#install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:

View File

@@ -5,23 +5,24 @@ _name=${pkgname#python-}
pkgver=0.6
pkgrel=1
pkgdesc="Module for computing Structured Similarity Image Metric (SSIM) in Python"
arch=('any')
arch=(any)
url="https://pypi.org/project/pyssim"
license=('MIT')
license=(MIT)
depends=(python-pillow python-scipy)
makedepends=('python-setuptools')
makedepends=(python-setuptools)
checkdepends=(python-pytest)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name//-/_}-$pkgver.tar.gz")
b2sums=('54a66aaf416f4c0f78895431e51a2d24741ee49fa4d8c01592e5d28c41979e6b45468609f1d24fb74486902805415589116b11031772ad561c6d65667e165b46')
build() {
cd $_name-$pkgver
python setup.py build
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:

View File

@@ -5,12 +5,12 @@
pkgname="python-pystray"
pkgver=0.19.5
pkgrel=1
arch=('any')
license=('GPL3')
arch=(any)
license=(GPL3)
pkgdesc="Allows to create a system tray icon"
url="https://github.com/moses-palmer/pystray"
depends=('python-six' 'python-pillow' 'python-xlib>=0.17' 'libappindicator-gtk3' 'python-gobject')
makedepends=('python-setuptools' 'python-pip' 'python-wheel')
depends=(python-six python-pillow 'python-xlib>=0.17' libappindicator-gtk3 python-gobject)
makedepends=(python-setuptools python-pip python-wheel)
source=("$pkgname-$pkgver.tar.gz::https://github.com/moses-palmer/pystray/archive/v${pkgver}.tar.gz")
b2sums=('34bea3d14cfde7ee7a7d2594da2386265fba34b36f4699b5877ea393dbf7e844fe441a1bda384bb6b3f279a544cba897e04509f7c47d69cb5168793665ae73d4')

View File

@@ -6,8 +6,8 @@ pkgbase = python-simple-pid
arch = any
license = MIT
makedepends = python-setuptools
depends = python
source = python-simple-pid-1.0.1.tar.gz::https://github.com/m-lundberg/simple-pid/archive/v1.0.1.tar.gz
sha256sums = babdf0e355eaf4188860d558d732f2723d0b6586d41f81c8eba8f442a748448a
b2sums = 29e54cc3e6bddd9103979a0ee1acdfb60e3bd85ef199b2a538144ec5e0c8ea45d4ce22615df618fdd920d0c0e04a50a844d598e9fc09c5873bb8d9c550548723
pkgname = python-simple-pid

View File

@@ -5,24 +5,23 @@ _name=${pkgname#python-}
pkgver=1.0.1
pkgrel=1
pkgdesc="A simple and easy to use PID controller in Python"
arch=('any')
arch=(any)
url="https://github.com/m-lundberg/simple-pid"
license=('MIT')
depends=()
makedepends=('python-setuptools')
license=(MIT)
depends=(python)
makedepends=(python-setuptools)
source=("$pkgname-$pkgver.tar.gz::https://github.com/m-lundberg/$_name/archive/v$pkgver.tar.gz")
sha256sums=('babdf0e355eaf4188860d558d732f2723d0b6586d41f81c8eba8f442a748448a')
b2sums=('29e54cc3e6bddd9103979a0ee1acdfb60e3bd85ef199b2a538144ec5e0c8ea45d4ce22615df618fdd920d0c0e04a50a844d598e9fc09c5873bb8d9c550548723')
build() {
cd $_name-$pkgver
python setup.py build
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:

View File

@@ -7,6 +7,7 @@ pkgbase = python-socketfromfd
license = Apache
checkdepends = python-pytest
makedepends = python-setuptools
depends = python
source = python-socketfromfd-0.2.0.tar.gz::https://github.com/tiran/socketfromfd/archive/refs/tags/v0.2.0.tar.gz
b2sums = d1bcb4e66913cd3c9e988e2d3bdeee19d10a804bf6a0c243061da95f61802fe56a8192f622f8235b776d067aab83a89f69f08af462fa7fca5ee00dedec26c18c

View File

@@ -5,28 +5,28 @@ _name=${pkgname#python-}
pkgver=0.2.0
pkgrel=1
pkgdesc="socket.fromfd() with auto-detection of family and type"
arch=('any')
arch=(any)
url="https://github.com/tiran/socketfromfd"
license=('Apache')
depends=()
makedepends=('python-setuptools')
checkdepends=('python-pytest')
license=(Apache)
depends=(python)
makedepends=(python-setuptools)
checkdepends=(python-pytest)
source=("$pkgname-$pkgver.tar.gz::https://github.com/tiran/socketfromfd/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('d1bcb4e66913cd3c9e988e2d3bdeee19d10a804bf6a0c243061da95f61802fe56a8192f622f8235b776d067aab83a89f69f08af462fa7fca5ee00dedec26c18c')
check() {
cd $_name-$pkgver
pytest
cd $_name-$pkgver
pytest
}
build() {
cd $_name-$pkgver
python setup.py build
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
# vim:set ts=2 sw=2 et:

View File

@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="Extract Valve VPK (V1 & V2) archives (and create V1 archives)"
arch=(x86_64)
url="https://github.com/panzi/rust-vpk"
license=('GPL')
license=(GPL)
depends=(gcc-libs fuse2)
makedepends=(cargo)
source=("https://github.com/panzi/rust-vpk/archive/refs/tags/v$pkgver.tar.gz")
@@ -33,8 +33,6 @@ check() {
package() {
cd "$_repo_name-$pkgver"
# binary
install -vDm755 -t "$pkgdir/usr/bin" target/release/rvpk
}

View File

@@ -1,7 +1,7 @@
pkgbase = thumbor
pkgdesc = open-source photo thumbnail service
pkgver = 7.4.7
pkgrel = 2
pkgver = 7.7.3
pkgrel = 1
url = https://github.com/thumbor/thumbor
arch = x86_64
license = MIT
@@ -23,9 +23,9 @@ pkgbase = thumbor
depends = python-socketfromfd
depends = python-piexif
backup = etc/thumbor.conf
source = https://github.com/thumbor/thumbor/archive/7.4.7.tar.gz
source = https://github.com/thumbor/thumbor/archive/7.7.3.tar.gz
source = thumbor.service
b2sums = 215aaa7922d7a2a54d8aa1891195b20fb4954b12992156ce7667edd8e01eabde8360daa6ba64510c6a765a48745780c6931fe6463cd90841287c986e5d5b500f
b2sums = 4fcc9f9f3eb74021616c544bf6a8a35935284272d7ab0cfe69e4d98f26dd22159e39dc6e4c9910d4c43789211f50c944bdf89a54e6fabcec166d1c5e8b53dfa8
b2sums = c0fe21516f245132ac9bb1a833601eabc8348f8c420c76d49ffe7cb25e00712fcbc0fe7c579604616f5008507ec9f7582936596e54e8a311acf949fb031cd5ca
pkgname = thumbor

View File

@@ -1,46 +1,47 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=thumbor
pkgver=7.4.7
pkgrel=2
pkgver=7.7.3
pkgrel=1
pkgdesc="open-source photo thumbnail service"
arch=('x86_64')
arch=(x86_64)
url="https://github.com/thumbor/thumbor"
license=('MIT')
license=(MIT)
depends=(python python-colorama python-pycurl python-opencv python-cairosvg python-tornado gifsicle python-libthumbor python-derpconf python-socketfromfd python-piexif)
makedepends=(python-build python-installer python-wheel)
checkdepends=(python-pytest python-preggy python-pyssim)
backup=("etc/thumbor.conf")
source=("https://github.com/thumbor/thumbor/archive/$pkgver.tar.gz"
"thumbor.service")
b2sums=('215aaa7922d7a2a54d8aa1891195b20fb4954b12992156ce7667edd8e01eabde8360daa6ba64510c6a765a48745780c6931fe6463cd90841287c986e5d5b500f'
b2sums=('4fcc9f9f3eb74021616c544bf6a8a35935284272d7ab0cfe69e4d98f26dd22159e39dc6e4c9910d4c43789211f50c944bdf89a54e6fabcec166d1c5e8b53dfa8'
'c0fe21516f245132ac9bb1a833601eabc8348f8c420c76d49ffe7cb25e00712fcbc0fe7c579604616f5008507ec9f7582936596e54e8a311acf949fb031cd5ca')
prepare() {
cd "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
# Adjust storage/cache paths to match systemd service
sed -e "s|FILE_STORAGE_ROOT_PATH = join(home, 'thumbor', 'storage' )|FILE_STORAGE_ROOT_PATH = '/var/lib/thumbor'|" \
-e "s|RESULT_STORAGE_FILE_STORAGE_ROOT_PATH = join(home, 'thumbor', 'result_storage')|RESULT_STORAGE_FILE_STORAGE_ROOT_PATH = '/var/cache/thumbor'|" \
-i $pkgname/$pkgname.conf
# Adjust storage/cache paths to match systemd service
sed -e "s|FILE_STORAGE_ROOT_PATH = join(home, 'thumbor', 'storage' )|FILE_STORAGE_ROOT_PATH = '/var/lib/thumbor'|" \
-e "s|RESULT_STORAGE_FILE_STORAGE_ROOT_PATH = join(home, 'thumbor', 'result_storage')|RESULT_STORAGE_FILE_STORAGE_ROOT_PATH = '/var/cache/thumbor'|" \
-i $pkgname/$pkgname.conf
}
check(){
cd "$pkgname-$pkgver"
# skip tests for now, they are utterly broken and need some sort of sentry.io sdk
# pytest
}
# skip tests for now, they are utterly broken and require sentry.io sdk
#check(){
# cd "$pkgname-$pkgver"
# pytest
#}
build() {
cd "$pkgname-$pkgver"
python setup.py build
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm 644 $srcdir/thumbor.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm 644 $pkgname/$pkgname.conf -t "${pkgdir}"/etc/
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm 644 $srcdir/thumbor.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm 644 $pkgname/$pkgname.conf -t "${pkgdir}"/etc/
}
# vim:set ts=2 sw=2 et:

View File

@@ -4,19 +4,18 @@ pkgname=unvpk-git
pkgver=r108.1f1f44f
pkgrel=1
pkgdesc="Extract Valve VPK archives"
arch=('x86_64')
arch=(x86_64)
url="https://github.com/panzi/unvpk"
license=('LGPL')
depends=('fuse' 'boost-libs')
makedepends=('git' 'cmake' 'boost')
license=(LGPL)
depends=(fuse boost-libs)
makedepends=(git cmake boost)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("unvpk::git+https://github.com/panzi/unvpk.git")
b2sums=('SKIP')
b2sums=(SKIP)
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
@@ -26,6 +25,7 @@ build() {
}
package() {
# cd "$srcdir/${pkgname%-git}"
make -C build DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:

View File

@@ -2,15 +2,15 @@
# Contributor: KawaiDesu <zmey1992@ya.ru>
pkgname=victoriametrics
_capname=VictoriaMetrics
_name=VictoriaMetrics
pkgver=1.93.5
pkgrel=1
pkgdesc="Fast, cost-effective and scalable time series database"
arch=('x86_64')
arch=(x86_64)
url="https://victoriametrics.github.io"
license=('Apache')
depends=('glibc')
makedepends=('go')
license=(Apache)
depends=(glibc)
makedepends=(go)
backup=('etc/default/victoriametrics')
source=("https://github.com/VictoriaMetrics/VictoriaMetrics/archive/refs/tags/v$pkgver.tar.gz"
"victoriametrics.service"
@@ -20,8 +20,7 @@ b2sums=('69e7cec2edfb6935c676816c5859d6620cba2aec1c03a2fbbda34b101ac03db397cc687
'4405dc19795d2cbfa515e4750a2cad77c13611293176ff5aeec597f9905494902bd4496c1e90f1efe2d484e383adb39d034167673b9fe7de8b307b8cedf17b7f')
build() {
cd "$_capname-$pkgver"
cd "$_name-$pkgver"
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 GO111MODULE=on CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \
go build -trimpath \
-buildmode=pie \
@@ -33,13 +32,14 @@ build() {
}
check() {
cd "$_capname-$pkgver"
cd "$_name-$pkgver"
go test ./app/victoria-metrics
}
package() {
install -Dm 755 "${srcdir}/${_capname}-${pkgver}"/bin/victoria-metrics -t "${pkgdir}"/usr/bin/
install -Dm 755 "${srcdir}/${_name}-${pkgver}"/bin/victoria-metrics -t "${pkgdir}"/usr/bin/
install -Dm 644 victoriametrics.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm 644 victoriametrics.default "${pkgdir}"/etc/default/victoriametrics
}
# vim:set ts=2 sw=2 et: