Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(*): drop _archive usage on all git packages #6685

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/adapta-gtk-theme-git/adapta-gtk-theme-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ pkgdesc="An adaptive Gtk+ theme based on Material Design Guidelines (Legacy)"
maintainer=("Elsie19 <[email protected]>")

prepare() {
cd "${_archive}"
cd "adapta-gtk-theme"
./autogen.sh --prefix=/usr --enable-parallel
}

build() {
cd "${_archive}"
cd "adapta-gtk-theme"
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "adapta-gtk-theme"
make install DESTDIR="${pkgdir}"
}
6 changes: 3 additions & 3 deletions packages/apx-git/apx-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ external_connection=true
incompatible=('*:bullseye' '*:bookworm')

prepare() {
cd "${_archive}"
cd "apx"
sed -i "s;/usr/share/apx/distrobox/distrobox;/usr/bin/distrobox;" config/apx.json
sed -i "/distrobox/d" Makefile
sed -i "s|install: build|install:|" Makefile

}

build() {
cd "${_archive}"
cd "apx"
export PATH=/usr/lib/go-1.22/bin:${PATH}
make build
}

package() {
cd "${_archive}"
cd "apx"
make install{,-manpages} DESTDIR="${pkgdir}"
}
6 changes: 3 additions & 3 deletions packages/ardour-git/ardour-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ pkgver="7.5"
# patch="https://github.com/archlinux/svntogit-community/blob/packages/ardour/trunk/ardour-6.2-vendor_qm-dsp.patch"

prepare() {
cd "${_archive}"
cd "ardour"
# Patch uses vendored version of qm-dsp because qm-dsp >= 1.8.0 is not compatible
# will be applied when ubuntu starts supporting qm-dsp 1.8.0
# unsetting gtk2 rc (FS#54389)
sed -e '8iexport GTK2_RC_FILES=/dev/null' -i "gtk2_ardour/ardour.sh.in"
}

build() {
cd "${_archive}"
cd "ardour"
# export LINKFLAGS="$LDFLAGS"
./waf configure --prefix=/usr \
--configdir=/etc \
Expand All @@ -41,7 +41,7 @@ build() {
}

package() {
cd "${_archive}"
cd "ardour"
./waf i18n --destdir="${pkgdir}"
./waf install --destdir="${pkgdir}"

Expand Down
4 changes: 2 additions & 2 deletions packages/awesome-git/awesome-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ breaks=("${gives}" "${gives}-bin")
replaces=("${gives}" "${gives}-bin")

build() {
cd "${_archive}"
cd "awesome"
# Build rquired files
make -j"${NCPU}" DESTDIR="${pkgdir}"
}

package() {
cd "${_archive}"
cd "awesome"
# Install awesome
make install DESTDIR="${pkgdir}"
mkdir -p "${pkgdir}/usr/share/xsessions"
Expand Down
4 changes: 2 additions & 2 deletions packages/bemenu-git/bemenu-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ makedepends=("scdoc" "wayland-protocols" "libcairo-dev" "libpango1.0-dev" "libxk
breaks=("${gives}-bin" "${gives}")

build() {
cd "${_archive}"
cd "bemenu"
# Build nessesary files
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "bemenu"
# Install license
install -Dm644 "LICENSE-CLIENT" "LICENSE-LIB" -t "${pkgdir}/usr/share/licenses/${gives}"

Expand Down
4 changes: 2 additions & 2 deletions packages/bes2600-firmware-git/bes2600-firmware-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source=("https://gitlab.com/pine64-org/bes2600-firmware.git")
maintainer=("Oren Klopfer <[email protected]>")

build() {
cd "${_archive}"
cd "bes2600-firmware"
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/lib/systemd/system"

Expand Down Expand Up @@ -48,7 +48,7 @@ ExecStart=bash -c 'if ! [[ -f /etc/modules-load.d/bes2600.conf ]]; then echo bes
}

package() {
cd "${_archive}"
cd "bes2600-firmware"
mkdir -p "${pkgdir}/usr/lib/firmware"
cp -r firmware/bes2600 "${pkgdir}/usr/lib/firmware"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/bpytop-git/bpytop-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pkgdesc="Linux/OSX/FreeBSD resource monitor."
external_connection="true"

prepare() {
cd "${_archive}"
cd "bpytop"
modern=("devel" "sid" "lunar" "bookworm" "mantic" "noble" "trixie" "testing" "unstable")
for mod in "${modern[@]}"; do
[[ ${mod} == "${DISTRO#*:}" ]] && pyhack=("--break-system-packages")
Expand All @@ -18,7 +18,7 @@ prepare() {
}

package() {
cd "${_archive}"
cd "bpytop"
make install DESTDIR="${pkgdir}"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}"
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${gives}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source=("https://github.com/CachyOS/ananicy-rules.git")
maintainer=("vigress8 <[email protected]>")

package() {
cd "${_archive}"
cd "ananicy-rules"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}"
rm -f README.md LICENSE
install -d "${pkgdir}/etc/ananicy.d"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ depends=("conky" "rsync")
pkgdesc="Simple tool for managing Conky configs"

build() {
cd "${_archive}"
cd "conky-manager2"
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "conky-manager2"
make install DESTDIR="${pkgdir}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("fishui" "libcutefish")
pkgdesc="CutefishOS Calculator."

prepare() {
cd "${_archive}"
cd "calculator"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "calculator"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "calculator"
make install DESTDIR="${pkgdir}"
}
6 changes: 3 additions & 3 deletions packages/cutefish-core-git/cutefish-core-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("fishui" "libpulse-dev" "libxtst6" "libpolkit-agent-1-dev" "libxcb-rand
pkgdesc="System backend and start session and more."

prepare() {
cd "${_archive}"
cd "core"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "core"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "core"
make install DESTDIR="${pkgdir}"
}
6 changes: 3 additions & 3 deletions packages/cutefish-dock-git/cutefish-dock-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("fishui" "libcutefish" "libqt5svg5-dev")
pkgdesc="CutefishOS application dock."

prepare() {
cd "${_archive}"
cd "dock"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "dock"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "dock"
make install DESTDIR="${pkgdir}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("fishui" "libcutefish" "kio" "libkf5solid-dev")
pkgdesc="Cutefish File Manager, simple to use, beautiful, and retain the classic PC interactive design."

prepare() {
cd "${_archive}"
cd "filemanager"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "filemanager"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "filemanager"
make install DESTDIR="${pkgdir}"
}
6 changes: 3 additions & 3 deletions packages/cutefish-icons-git/cutefish-icons-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ makedepends=("extra-cmake-modules" "ninja-build")
pkgdesc="System default icon theme of CutefishOS."

prepare() {
cd "${_archive}"
cd "icons"
mkdir build
}

build() {
cd "${_archive}"
cd "icons"
cd build
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "icons"
make install DESTDIR="${pkgdir}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ depends=("libkf5config-dev" "libkdecorations2-dev" "libkf5guiaddons-dev" "libkf5
pkgdesc="CutefishOS KWin Plugins."

prepare() {
cd "${_archive}"
cd "kwin-plugins"
mkdir build
}

build() {
cd "${_archive}"
cd "kwin-plugins"
cd build
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "kwin-plugins"
cd build
make install DESTDIR="${pkgdir}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("fishui" "libcutefish" "libkf5windowsystem-dev")
pkgdesc="CutefishOS's full-screen application launcher"

prepare() {
cd "${_archive}"
cd "launcher"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "launcher"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "launcher"
make install DESTDIR="${pkgdir}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("libkf5windowsystem-dev" "libdbusmenu-qt5-dev" "libqt5xdg-dev" "qtquick
pkgdesc="Unify Qt application style of CutefishOS"

prepare() {
cd "${_archive}"
cd "qt-plugins"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "qt-plugins"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "qt-plugins"
make install DESTDIR="${pkgdir}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("fishui" "libfontconfig1" "libfreetype-dev" "libicu-dev" "libkf5coreadd
pkgdesc="System Settings application for Cutefish Desktop."

prepare() {
cd "${_archive}"
cd "settings"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "settings"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "settings"
make install DESTDIR="${pkgdir}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ depends=("fishui" "libcutefish" "libdbusmenu-qt5-dev" "libqt5svg5-dev")
pkgdesc="Top status bar of CutefishOS"

prepare() {
cd "${_archive}"
cd "statusbar"
mkdir build
cd build
}

build() {
cd "${_archive}"
cd "statusbar"
cmake ..
make -j"${NCPU}"
}

package() {
cd "${_archive}"
cd "statusbar"
make install DESTDIR="${pkgdir}"
}
Loading
Loading