mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-23 09:12:14 -05:00
Add and update pkgs
This commit is contained in:
parent
1aa97b3411
commit
b49be0254a
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
_pkgname=biboumi
|
_pkgname=biboumi
|
||||||
pkgname="$_pkgname-git"
|
pkgname="$_pkgname-git"
|
||||||
pkgver=8.2.r87.ga8ce138
|
pkgver=9.0.r27.g2bd91dc
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="XMPP gateway to IRC"
|
pkgdesc="XMPP gateway to IRC"
|
||||||
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
||||||
url="https://biboumi.louiz.org/"
|
url="https://biboumi.louiz.org/"
|
||||||
license=('ZLIB')
|
license=('ZLIB')
|
||||||
depends=('expat' 'libidn' 'udns' 'botan' 'sqlite' 'postgresql-libs')
|
depends=('expat' 'libidn' 'udns' 'botan2' 'sqlite' 'postgresql-libs')
|
||||||
makedepends=('git' 'cmake' 'pandoc')
|
makedepends=('git' 'cmake' 'ninja' 'python-sphinx' 'python-sphinx_rtd_theme')
|
||||||
backup=("etc/$_pkgname/$_pkgname.cfg")
|
backup=("etc/$_pkgname/$_pkgname.cfg")
|
||||||
install="$_pkgname.install"
|
install="$_pkgname.install"
|
||||||
source=("$_pkgname::git+https://lab.louiz.org/louiz/biboumi.git"
|
source=("$_pkgname::git+https://codeberg.org/poezio/biboumi"
|
||||||
'biboumi.install'
|
'biboumi.install'
|
||||||
'sysuser.conf')
|
'sysuser.conf')
|
||||||
md5sums=('SKIP'
|
md5sums=('SKIP'
|
||||||
@ -38,17 +38,22 @@ build() {
|
|||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DSERVICE_USER=biboumi \
|
-DSERVICE_USER=biboumi \
|
||||||
-DSERVICE_GROUP=jabber
|
-DSERVICE_GROUP=jabber \
|
||||||
make biboumi
|
-Wno-dev \
|
||||||
|
-G Ninja
|
||||||
|
ninja
|
||||||
|
ninja doc
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $_pkgname/build
|
cd $_pkgname/build
|
||||||
make DESTDIR="$pkgdir/" install
|
DESTDIR="$pkgdir/" ninja install
|
||||||
|
|
||||||
|
install -dm755 "$pkgdir"/usr/share/doc/$_pkgname/
|
||||||
|
cp -r html "$pkgdir"/usr/share/doc/$_pkgname/
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE
|
||||||
install -dm755 "$pkgdir"/usr/share/doc/$_pkgname/
|
|
||||||
install -Dm644 doc/*.rst "$pkgdir"/usr/share/doc/$_pkgname/
|
install -Dm644 doc/*.rst "$pkgdir"/usr/share/doc/$_pkgname/
|
||||||
install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$_pkgname/$_pkgname.cfg
|
install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$_pkgname/$_pkgname.cfg
|
||||||
|
|
||||||
|
37
src/fw-ectool-git/PKGBUILD
Normal file
37
src/fw-ectool-git/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Maintainer: Cole Deck <cole at deck dot sh>
|
||||||
|
pkgname=fw-ectool-git
|
||||||
|
_gitname=ectool
|
||||||
|
pkgver=r2760.3ebe7b8
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="ectool for the Framework laptop."
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://www.howett.net/posts/2021-12-framework-ec/#software"
|
||||||
|
provides=('ectool')
|
||||||
|
depends=('libftdi')
|
||||||
|
makedepends=('inetutils' 'git' 'cmake')
|
||||||
|
license=('BSD')
|
||||||
|
source=(git+https://gitlab.howett.net/DHowett/ectool.git)
|
||||||
|
sha1sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/ectool"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/ectool"
|
||||||
|
mkdir -p build && cd build
|
||||||
|
cmake ..
|
||||||
|
make PREFIX=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/ectool"
|
||||||
|
install -Dm755 build/src/ectool "$pkgdir/usr/bin/ectool"
|
||||||
|
# legacy: install "fw-ectool" binary
|
||||||
|
# previously used to specify the framework interface
|
||||||
|
# which led to it's inclusion in scripts
|
||||||
|
# however that's no longer necessary to use ectool, so it's just calling ectool as-is
|
||||||
|
printf "#!/bin/bash\n/usr/bin/ectool \$@" > "$pkgdir/usr/bin/fw-ectool"
|
||||||
|
chmod +x "$pkgdir/usr/bin/fw-ectool"
|
||||||
|
}
|
45
src/heroic-games-launcher/PKGBUILD
Normal file
45
src/heroic-games-launcher/PKGBUILD
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
|
||||||
|
|
||||||
|
pkgname=heroic-games-launcher
|
||||||
|
pkgver=2.10.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Native GOG, Epic Games and Amazon games launcher for Linux"
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://heroicgameslauncher.com/"
|
||||||
|
license=(GPL3)
|
||||||
|
depends=(alsa-lib gtk3 nss )
|
||||||
|
makedepends=(git yarn node-gyp)
|
||||||
|
options=(!debug)
|
||||||
|
source=("git+https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git#tag=v${pkgver}")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd HeroicGamesLauncher
|
||||||
|
yarn
|
||||||
|
yarn dist:linux tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd HeroicGamesLauncher
|
||||||
|
install -d "${pkgdir}/opt/heroic"
|
||||||
|
cp -r dist/linux-unpacked/* "${pkgdir}/opt/heroic"
|
||||||
|
|
||||||
|
install -d "${pkgdir}/usr/bin"
|
||||||
|
ln -s /opt/heroic/heroic "${pkgdir}/usr/bin/heroic"
|
||||||
|
|
||||||
|
install -D public/icon.png "${pkgdir}/usr/share/pixmaps/heroic.png"
|
||||||
|
|
||||||
|
install -d "${pkgdir}/usr/share/applications/"
|
||||||
|
cat > ${pkgdir}/usr/share/applications/heroic.desktop << _EOD
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Heroic Games Launcher
|
||||||
|
Exec=/opt/heroic/heroic %U
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=heroic
|
||||||
|
StartupWMClass=Heroic
|
||||||
|
Comment=Open Source GOG and Epic Games launcher
|
||||||
|
MimeType=x-scheme-handler/heroic;
|
||||||
|
Categories=Game;
|
||||||
|
_EOD
|
||||||
|
}
|
35
src/leftwm-theme-git/PKGBUILD
Normal file
35
src/leftwm-theme-git/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Maintainer: Mautamu mautam@usa.com
|
||||||
|
pkgname=leftwm-theme-git
|
||||||
|
pkgver=r100.f168eb4
|
||||||
|
pkgrel=1
|
||||||
|
epoch=0
|
||||||
|
pkgdesc="Theme manager for LeftWM"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/leftwm/leftwm-theme"
|
||||||
|
license=('BSD')
|
||||||
|
depends=('leftwm' 'openssl' 'gcc-libs' 'zlib')
|
||||||
|
makedepends=('cargo' 'git')
|
||||||
|
optdepends=('dmenu: default launcher'
|
||||||
|
'feh: used to set background images'
|
||||||
|
'lemonbar: light weight bar'
|
||||||
|
'polybar: light weight bar')
|
||||||
|
provides=('leftwm-theme')
|
||||||
|
conflicts=('leftwm-theme')
|
||||||
|
source=("${pkgname}::git+https://github.com/leftwm/leftwm-theme.git")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname
|
||||||
|
cargo build --release
|
||||||
|
}
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $pkgname
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" $pkgname/LICENSE
|
||||||
|
cd $pkgname/target/release
|
||||||
|
install -Dm755 leftwm-theme -t "$pkgdir"/usr/bin
|
||||||
|
}
|
5
src/leftwm/.gitignore
vendored
Normal file
5
src/leftwm/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
/*
|
||||||
|
!/.gitignore
|
||||||
|
!/.SRCINFO
|
||||||
|
!/PKGBUILD
|
||||||
|
!/readme.install
|
61
src/leftwm/PKGBUILD
Normal file
61
src/leftwm/PKGBUILD
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# Maintainer: Lex Childs <lexchilds@gmail.com>
|
||||||
|
# Contributor: éclairevoyant
|
||||||
|
|
||||||
|
pkgbase=leftwm
|
||||||
|
pkgname=(leftwm leftwm-nonsystemd)
|
||||||
|
pkgver=0.5.1
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="A tiling window manager for the adventurer"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/leftwm/leftwm"
|
||||||
|
license=('MIT')
|
||||||
|
depends=(gcc-libs)
|
||||||
|
makedepends=('cargo' 'git')
|
||||||
|
optdepends=('bash: themes'
|
||||||
|
'dmenu: default launcher'
|
||||||
|
'eww: flexible status bar'
|
||||||
|
'feh: used to set background images'
|
||||||
|
'lemonbar: light weight bar'
|
||||||
|
'polybar: light weight bar')
|
||||||
|
source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
|
||||||
|
sha256sums=('3c8ab0fdbfe205b33ad7ae108d3a604bdd22663458bf803e0a3a4a924aad963a')
|
||||||
|
install='readme.install'
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $pkgbase-$pkgver
|
||||||
|
cargo fetch --target "$CARCH-unknown-linux-gnu"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgbase-$pkgver
|
||||||
|
|
||||||
|
export CARGO_TARGET_DIR=target_non_systemd
|
||||||
|
cargo build --frozen --release --no-default-features --features=lefthk,sys-log
|
||||||
|
|
||||||
|
export CARGO_TARGET_DIR=target_systemd
|
||||||
|
cargo build --frozen --release
|
||||||
|
}
|
||||||
|
|
||||||
|
_package() {
|
||||||
|
install -Dm755 leftwm{,-worker,-state,-check,-command} lefthk-worker -t "$pkgdir"/usr/bin/
|
||||||
|
|
||||||
|
cd ../../
|
||||||
|
install -Dm644 leftwm/doc/leftwm.1 -t "$pkgdir"/usr/share/man/man1/
|
||||||
|
install -d "$pkgdir"/usr/share/leftwm
|
||||||
|
cp -R themes "$pkgdir"/usr/share/leftwm
|
||||||
|
install -Dm644 leftwm.desktop -t "$pkgdir"/usr/share/xsessions/
|
||||||
|
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/leftwm/LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
package_leftwm-nonsystemd() {
|
||||||
|
pkgdesc+=" (non-systemd init)"
|
||||||
|
cd $pkgbase-$pkgver/target_non_systemd/release
|
||||||
|
_package
|
||||||
|
}
|
||||||
|
|
||||||
|
package_leftwm() {
|
||||||
|
pkgdesc+=" (systemd init)"
|
||||||
|
depends+=(systemd)
|
||||||
|
cd $pkgbase-$pkgver/target_systemd/release
|
||||||
|
_package
|
||||||
|
}
|
4
src/leftwm/readme.install
Normal file
4
src/leftwm/readme.install
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
post_upgrade() {
|
||||||
|
echo -e "\n\e[1;33mWarning:\e[0m When upgrading from a build without \`lefthk\` (basically anything before \`0.4.0\`) you need to completely restart \`leftwm\` in order to start the hotkey daemon proprerly. A \`SoftReload\` or \`HardReload\` will leave you with a session non responsive to keybinds but otherwise running well."
|
||||||
|
echo -e "\n\e[1;33mPlease reboot or exit to login/tty to restart \`leftwm\`.\e[0m"
|
||||||
|
}
|
26
src/lemonbar/PKGBUILD
Normal file
26
src/lemonbar/PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Maintainer: Wilsson Martee <wilssonm@gmail.com>
|
||||||
|
|
||||||
|
pkgname=lemonbar
|
||||||
|
pkgver=1.4
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A featherweight, lemon-scented, bar based on xcb."
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/LemonBoy/bar"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('libxcb')
|
||||||
|
makedepends=('pod2man')
|
||||||
|
provides=('lemonbar')
|
||||||
|
conflicts=('lemonbar')
|
||||||
|
source=("${url}/archive/v${pkgver}.tar.gz")
|
||||||
|
sha256sums=('7bfd36d7a4a950f61ed0d32c7d219678e7787a546d9ef4bc33f02393d60e4939')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "bar-${pkgver}"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "bar-${pkgver}"
|
||||||
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
||||||
|
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
@ -1,12 +1,12 @@
|
|||||||
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
|
# Maintainer: Vadim Kaushan <admin@disasm.info>
|
||||||
|
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
|
||||||
|
|
||||||
pkgname=lms
|
pkgname=lms
|
||||||
pkgver=3.36.0
|
pkgver=3.43.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Lightweight Music Server. Access your self-hosted music using a web interface'
|
pkgdesc='Lightweight Music Server. Access your self-hosted music using a web interface'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://github.com/epoupon/lms'
|
url='https://github.com/epoupon/lms'
|
||||||
install=lms.install
|
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('ffmpeg'
|
depends=('ffmpeg'
|
||||||
'libconfig'
|
'libconfig'
|
||||||
@ -17,8 +17,13 @@ makedepends=('cmake'
|
|||||||
'boost'
|
'boost'
|
||||||
'gtest'
|
'gtest'
|
||||||
'graphicsmagick')
|
'graphicsmagick')
|
||||||
source=("${pkgname}-${pkgver}.tar.xz::https://github.com/epoupon/lms/archive/v${pkgver}.tar.gz")
|
source=("${pkgname}-${pkgver}.tar.xz::https://github.com/epoupon/lms/archive/v${pkgver}.tar.gz"
|
||||||
sha256sums=('32e4a9b603db2875206de4eb7e9348a550187f2c79478f3c9f50245ff052c20e')
|
"lms.sysusers"
|
||||||
|
"lms.tmpfiles")
|
||||||
|
sha256sums=('e514a7d4066a2919144cee4e8ed960d11edb3e978b76542fd9ad83cfa17a84a9'
|
||||||
|
'9d26489cb828576c8c2296821d52f3a453b2c9d63cdace425e3f312e190601d6'
|
||||||
|
'32f537bf3480fbe55d0a9929ba633718fbc16887a68e0ba1a2b3b265c400ed41')
|
||||||
|
backup=("etc/lms.conf")
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir "${pkgname}-${pkgver}/build"
|
mkdir "${pkgname}-${pkgver}/build"
|
||||||
@ -28,9 +33,14 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
install -d "$pkgdir/var/lib/lms"
|
||||||
|
install -D -m 644 "lms.sysusers" "$pkgdir/usr/lib/sysusers.d/lms.conf"
|
||||||
|
install -D -m 644 "lms.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/lms.conf"
|
||||||
|
|
||||||
cd "${pkgname}-${pkgver}/build"
|
cd "${pkgname}-${pkgver}/build"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="$pkgdir" install
|
||||||
install -Dm644 "${pkgdir}/usr/share/lms/lms.conf" -t "${pkgdir}/etc/"
|
install -D -m 644 "$pkgdir/usr/share/lms/lms.conf" "$pkgdir/etc/lms.conf"
|
||||||
install -Dm644 "${pkgdir}/usr/share/lms/default.service" "${pkgdir}/usr/lib/systemd/system/lms.service"
|
sed -i "s|/var/lms|/var/lib/lms|g" "$pkgdir/etc/lms.conf"
|
||||||
|
install -D -m 644 "$pkgdir/usr/share/lms/default.service" "$pkgdir/usr/lib/systemd/system/lms.service"
|
||||||
}
|
}
|
||||||
# vim:set ts=2 sw=2 et:
|
# vim:set ts=2 sw=2 et:
|
||||||
|
62
src/pico-sdk/PKGBUILD
Normal file
62
src/pico-sdk/PKGBUILD
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# Maintainer: Sematre <sematre at gmx dot de>
|
||||||
|
pkgname=pico-sdk
|
||||||
|
pkgver=1.5.1
|
||||||
|
pkgrel=1
|
||||||
|
|
||||||
|
pkgdesc="Libraries and tools for C/C++ development on RP2040 microcontrollers."
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/raspberrypi/pico-sdk"
|
||||||
|
license=('BSD-3-Clause')
|
||||||
|
|
||||||
|
depends=('arm-none-eabi-binutils' 'arm-none-eabi-gcc' 'arm-none-eabi-newlib' 'cmake')
|
||||||
|
optdepends=('arm-none-eabi-gdb: Debugger')
|
||||||
|
makedepends=('git')
|
||||||
|
|
||||||
|
provides=("raspberry-pico-sdk-git")
|
||||||
|
conflicts=("raspberry-pico-sdk-git")
|
||||||
|
|
||||||
|
options=('!strip')
|
||||||
|
install=reload-environment-variables.install
|
||||||
|
source=("git+${url}.git#tag=${pkgver}"
|
||||||
|
"git+https://github.com/bluekitchen/btstack.git"
|
||||||
|
"git+https://github.com/georgerobotics/cyw43-driver.git"
|
||||||
|
"git+https://github.com/lwip-tcpip/lwip.git"
|
||||||
|
"git+https://github.com/Mbed-TLS/mbedtls.git"
|
||||||
|
"git+https://github.com/hathach/tinyusb.git"
|
||||||
|
"setup-environment-variables.sh")
|
||||||
|
sha256sums=('SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'155dbf10a6a9239849a166595bb3287bc410ef54f7d850e8dc9c50fddc1a7a3e')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${srcdir}/pico-sdk"
|
||||||
|
git submodule init
|
||||||
|
|
||||||
|
git config submodule."lib/btstack".url "${srcdir}/btstack"
|
||||||
|
git config submodule."lib/cyw43-driver".url "${srcdir}/cyw43-driver"
|
||||||
|
git config submodule."lib/lwip".url "${srcdir}/lwip"
|
||||||
|
git config submodule."lib/mbedtls".url "${srcdir}/mbedtls"
|
||||||
|
git config submodule."lib/tinyusb".url "${srcdir}/tinyusb"
|
||||||
|
|
||||||
|
git -c protocol.file.allow=always submodule update
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
# Install sdk
|
||||||
|
mkdir -p "${pkgdir}/usr/share"
|
||||||
|
cp -r "${srcdir}/pico-sdk/" "${pkgdir}/usr/share/${pkgname}"
|
||||||
|
rm -r "${pkgdir}/usr/share/${pkgname}"/{.git*,README.md,CONTRIBUTING.md,LICENSE.TXT}
|
||||||
|
|
||||||
|
# Install environment config
|
||||||
|
install -Dm644 "${srcdir}/setup-environment-variables.sh" "${pkgdir}/etc/profile.d/pico-sdk.sh"
|
||||||
|
|
||||||
|
# Install docs
|
||||||
|
install -Dm644 "${srcdir}/pico-sdk/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||||
|
|
||||||
|
# Install license
|
||||||
|
install -Dm644 "${srcdir}/pico-sdk/LICENSE.TXT" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
}
|
6
src/pico-sdk/reload-environment-variables.install
Normal file
6
src/pico-sdk/reload-environment-variables.install
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
post_install() {
|
||||||
|
tput bold
|
||||||
|
echo "To apply the changes you need to"
|
||||||
|
echo "restart your computer or relogin."
|
||||||
|
tput sgr0
|
||||||
|
}
|
2
src/pico-sdk/setup-environment-variables.sh
Normal file
2
src/pico-sdk/setup-environment-variables.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
export PICO_SDK_PATH=/usr/share/pico-sdk
|
2
src/picotool/70-picotool.rules
Normal file
2
src/picotool/70-picotool.rules
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="0660", TAG+="uaccess"
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="000a", MODE="0660", TAG+="uaccess"
|
47
src/picotool/PKGBUILD
Normal file
47
src/picotool/PKGBUILD
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Maintainer: Sematre <sematre at gmx dot de>
|
||||||
|
pkgname=picotool
|
||||||
|
pkgver=1.1.2
|
||||||
|
pkgrel=2
|
||||||
|
|
||||||
|
pkgdesc="Tool for inspecting RP2040 binaries and interacting with RP2040 devices."
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/raspberrypi/picotool"
|
||||||
|
license=('BSD-3-Clause')
|
||||||
|
|
||||||
|
depends=('gcc-libs' 'libusb')
|
||||||
|
makedepends=('pico-sdk' 'cmake')
|
||||||
|
|
||||||
|
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz"
|
||||||
|
"70-picotool.rules")
|
||||||
|
sha256sums=('f1746ead7815c13be1152f0645db8ea3b277628eb0110d42a0a186db37d40a91'
|
||||||
|
'de1a6ed1862e0fe31c4ebcaf322654203dfc07fd59c38e721f9bec48be1872a8')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
if [ -z "${PICO_SDK_PATH}" ]; then
|
||||||
|
if [ -d "/usr/share/pico-sdk" ]; then
|
||||||
|
warning "PICO_SDK_PATH is not set! Using default path: /usr/share/pico-sdk"
|
||||||
|
export PICO_SDK_PATH=/usr/share/pico-sdk
|
||||||
|
else
|
||||||
|
error "Couldn't find pico-sdk! Is it set up?"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${srcdir}"
|
||||||
|
cmake -B build -S "${pkgname}-${pkgver}"
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
# Install application
|
||||||
|
install -Dm755 "${srcdir}/build/picotool" -t "${pkgdir}/usr/bin/"
|
||||||
|
|
||||||
|
# Install udev rules
|
||||||
|
install -Dm644 "${srcdir}/70-picotool.rules" -t "${pkgdir}/usr/lib/udev/rules.d/"
|
||||||
|
|
||||||
|
# Install docs
|
||||||
|
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||||
|
|
||||||
|
# Install license
|
||||||
|
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE.TXT" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
}
|
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
_pkgname=Sparrow
|
_pkgname=Sparrow
|
||||||
pkgname=sparrow-wallet
|
pkgname=sparrow-wallet
|
||||||
pkgver=1.7.4
|
pkgver=1.8.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Bitcoin wallet with pro functionalities like single- and multisig, Transaction Editor, built-in Tor, connection to private Electrum and much more. Different Hardware Wallets like Trezor and BitBox supported."
|
pkgdesc="Bitcoin wallet with pro functionalities like single- and multisig, Transaction Editor, built-in Tor, connection to private Electrum and much more. Different Hardware Wallets like Trezor and BitBox supported."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://sparrowwallet.com/"
|
url="https://sparrowwallet.com/"
|
||||||
license=('Apache')
|
license=('Apache')
|
||||||
depends=('hicolor-icon-theme' 'alsa-lib' 'libxtst' 'libxrender' 'java-runtime' 'freetype2')
|
depends=('hicolor-icon-theme' 'alsa-lib' 'libxtst' 'libxrender' 'java-runtime' 'freetype2' 'libxcrypt-compat')
|
||||||
makedepends=('p7zip' 'gendesk')
|
makedepends=('p7zip' 'gendesk')
|
||||||
validpgpkeys=('D4D0D3202FC06849A257B38DE94618334C674B40')
|
validpgpkeys=('D4D0D3202FC06849A257B38DE94618334C674B40')
|
||||||
source=("https://github.com/sparrowwallet/sparrow/releases/download/$pkgver/sparrow-$pkgver-$CARCH.tar.gz")
|
source=("https://github.com/sparrowwallet/sparrow/releases/download/$pkgver/sparrow-$pkgver-$CARCH.tar.gz")
|
||||||
sha256sums=('cbe5f8d23bb57a0fe32528bc9c7493432fe22b97ef008bdf1e4ebf9158663922')
|
sha256sums=('76960631c958323c6351b21c499ed5e782352d355f1f100a1fdfbb09aa6b0f85')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# Comment
|
# Comment
|
||||||
|
Loading…
Reference in New Issue
Block a user