-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from slipstream8125/main
build: Modified build.sh to uncomment some packages
- Loading branch information
Showing
29 changed files
with
184 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Maintainer: Piotr Miller <nwg.piotr@gmail.com> | ||
pkgname=('nwg-clipman') | ||
pkgver=0.2.2 | ||
pkgrel=1 | ||
pkgdesc="nwg-shell clipboard manager, a GTK3-based GUI for cliphist" | ||
arch=('any') | ||
url="https://github.com/nwg-piotr/nwg-clipman" | ||
license=('MIT') | ||
provides=('nwg-clipman') | ||
depends=('python' 'python-gobject' 'gtk3' 'gtk-layer-shell' 'cliphist' 'xdg-utils') | ||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools') | ||
source=("$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-clipman/archive/v"$pkgver".tar.gz") | ||
|
||
md5sums=('da08903398e9c3c5706c7d5f1f7a7840') | ||
|
||
build() { | ||
cd "${pkgname}-${pkgver}" | ||
python -m build --wheel --no-isolation | ||
} | ||
|
||
package() { | ||
cd "${pkgname}-${pkgver}" | ||
python -m installer --destdir="${pkgdir}" dist/*.whl | ||
|
||
install -D -t "$pkgdir"/usr/share/pixmaps nwg-clipman.svg | ||
install -D -t "$pkgdir"/usr/share/applications nwg-clipman.desktop | ||
install -D -t "$pkgdir"/usr/share/licenses/"$pkgname" LICENSE | ||
install -D -t "$pkgdir"/usr/share/doc/"$pkgname" README.md | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# Maintainer: | ||
# Contributor: Mark Wagie <mark dot wagie at proton dot me> | ||
# Contributor: MatMoul <matmoul at the google email domain which is .com> | ||
|
||
_pkgname="octopi" | ||
pkgname="$_pkgname" | ||
pkgver=0.16.2 | ||
pkgrel=2 | ||
pkgdesc="A powerful Pacman frontend using Qt libs" | ||
url="https://github.com/aarnt/octopi" | ||
license=('GPL-2.0-or-later') | ||
arch=('x86_64') | ||
|
||
depends=( | ||
'qtermwidget' | ||
) | ||
makedepends=( | ||
'cmake' | ||
'git' | ||
'ninja' | ||
'qt6-5compat' | ||
'qt6-tools' | ||
'vala' | ||
) | ||
optdepends=( | ||
'inxi: for SysInfo log' | ||
'lsb-release: for SysInfo log' | ||
'mhwd: for SysInfo log' | ||
'pacaur: for AUR support' | ||
'pacmanlogviewer: to view pacman log files' | ||
'paru: for AUR support' | ||
'pikaur: for AUR support' | ||
'systemd: for SysInfo log' | ||
'trizen: for AUR support' | ||
'yay: for AUR support' | ||
) | ||
|
||
conflicts=('alpm_octopi_utils') | ||
|
||
_pkgsrc_octopi="$_pkgname-$pkgver" | ||
_pkgsrc_alpm_utils="alpm_octopi_utils" | ||
_pkgext="tar.gz" | ||
source=( | ||
"$_pkgsrc_octopi.$_pkgext"::"https://github.com/aarnt/octopi/archive/refs/tags/v$pkgver.$_pkgext" | ||
"$_pkgsrc_alpm_utils"::"git+https://github.com/aarnt/alpm_octopi_utils.git" | ||
) | ||
sha256sums=( | ||
'7a10e68c0eba817d3c5917a392034c9d92dd975f4f2eaf9343b3ae35701e2c93' | ||
'SKIP' | ||
) | ||
|
||
prepare() { | ||
cd "$_pkgsrc_octopi" | ||
|
||
# Don't hardcode qt-sudo path | ||
sed -i 's/usr\/local/usr/g' src/constants.h | ||
} | ||
|
||
_build_alpm_utils() ( | ||
local _cmake_options=( | ||
-B build_alpm | ||
-S "$_pkgsrc_alpm_utils" | ||
-G Ninja | ||
-DCMAKE_BUILD_TYPE=None | ||
-DCMAKE_INSTALL_PREFIX='/usr' | ||
-Wno-dev | ||
) | ||
|
||
cmake "${_cmake_options[@]}" | ||
cmake --build build_alpm | ||
|
||
DESTDIR="fakeinstall" cmake --install build_alpm | ||
) | ||
|
||
_build_octopi() ( | ||
local _cmake_options=( | ||
-B build_octopi | ||
-S "$_pkgsrc_octopi" | ||
-G Ninja | ||
-DCMAKE_BUILD_TYPE=None | ||
-DCMAKE_INSTALL_PREFIX='/usr' | ||
-Dalpm_octopi_utils_DIR="'$srcdir/fakeinstall/usr/lib/cmake/alpm_octopi_utils/'" | ||
-Wno-dev | ||
) | ||
|
||
cmake "${_cmake_options[@]}" | ||
cmake --build build_octopi | ||
|
||
DESTDIR="fakeinstall" cmake --install build_octopi | ||
) | ||
|
||
build() { | ||
_build_alpm_utils | ||
_build_octopi | ||
} | ||
|
||
package() { | ||
depends+=( | ||
'pacman' | ||
'pacman-contrib' | ||
'qt-sudo' # AUR | ||
) | ||
|
||
rm -rf "fakeinstall/usr/include/" | ||
rm -rf "fakeinstall/usr/lib/cmake/" | ||
rm -rf "fakeinstall/usr/lib/pkgconfig/" | ||
rm -rf "fakeinstall/usr/share/licenses/" | ||
rm -rf "fakeinstall/usr/share/vala/" | ||
|
||
cp --reflink=auto -a fakeinstall/* "$pkgdir/" | ||
chmod -R u+rwX,go+rX,go-w "$pkgdir/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.