This commit is contained in:
sulincix committed 2024-05-26 18:56:52 +00:00
1 parent 77db1cd3df
commit 402abb10c0
7 files changed
+64 -38

No files matched your search

+16 -11
View File
@@ -1,24 +1,26 @@
#!/usr/bin/env bash
name='nano'
release='2'
version='7.2'
release='3'
version='8.0'
url='https://www.nano-editor.org/download.php'
description='Pico editor clone with enhancements'
email='parduscix@yandex.ru'
maintainer='sulincix'
license=('GPLv3')
source=("https://www.nano-editor.org/dist/v7/nano-$version.tar.xz"
"https://github.com/scopatz/nanorc/archive/refs/tags/2020.10.10.tar.gz"
_commit="ff189e2baa8d89f44b5f58ea7da7aac04ee4ad8b"
source=("https://www.nano-editor.org/dist/v8/nano-$version.tar.xz"
"https://github.com/galenguyer/nano-syntax-highlighting/archive/${_commit}.zip"
"nanorc"
"nano.desktop"
"icon.svg")
depends=(file zlib ncurses bzip2)
makedepends=()
md5sums=('13742c686c6ddb0b7b294634f0c13cec'
'fef2d5f43ac31ea0cad2cd7aed0d8255'
'SKIP'
'SKIP'
'SKIP')
sha256sums=('c17f43fc0e37336b33ee50a209c701d5beb808adc2d9f089ca831b40539c9ac4'
'9e836760f61473a7a6ae28ac5e10b8d5b26f0415d1bd0c85d56d9b09e27a9fe1'
'SKIP'
'SKIP'
'SKIP'
)
uses=(nanorc)
arch=('x86_64')
group=(app.editor)
@@ -43,9 +45,12 @@ package(){
mkdir -p ${DESTDIR}/etc
install ../nanorc ${DESTDIR}/etc/nanorc
# install extra nanorc files
cd ../nanorc-2020.10.10
cd ../nano-syntax-highlighting-${_commit}
for file in ./*.nanorc ; do
if [[ ! -f ${DESTDIR}/usr/share/nano/$file ]] ; then
# black color is buggy with dark themes so replace with green
sed -i "s/color black/ color green/g" $file
sed -i "s/color brightblack/ color brightgreen/g" $file
install $file ${DESTDIR}/usr/share/nano/
fi
done
@@ -54,6 +59,6 @@ package(){
mkdir -p ${DESTDIR}/usr/share/icons/hicolor/scalable/apps/
install ../nano.desktop ${DESTDIR}/usr/share/applications
install ../icon.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps/nano.svg
}
+28 -7
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='qemu'
release='1'
version='8.1.2'
release='2'
version='9.0.0'
url='https://qemu.org'
description='Quick Emulator'
email='aliriza.keskin@pardus.org.tr'
@@ -14,7 +14,7 @@ depends=(alsa-lib bzip2 curl cyrus-sasl eudev fuse glib
pipewire
)
makedepends=()
md5sums=('f7e3443d5b62afa0c10771ad42c5e17a')
sha256sums=('32708ac66c30d8c892633ea968c771c1c76d597d70ddead21a0d22ccf386da69')
group=(app.emulation)
uses=(gtk vnc)
arch=('x86_64')
@@ -24,21 +24,42 @@ gtk_depends=(gtk3 vte3)
cd $name-$version
prepare(){
cd ..
cp -prf $name-$version $name-$version.static
}
setup () {
./configure --prefix=/usr \
opts=(
--libdir=/usr/lib64/ \
--enable-slirp \
--target-list=x86_64-softmmu,aarch64-linux-user,aarch64-softmmu \
--disable-zstd \
)
# configure system
./configure --prefix=/usr \
--disable-linux-user \
--target-list=x86_64-softmmu,aarch64-softmmu \
--enable-slirp \
$(use_opt gtk --enable-gtk --disable-gtk) \
$(use_opt vnc --enable-vnc --disable-vnc)
$(use_opt vnc --enable-vnc --disable-vnc) \
${opts[@]}
# configure user static
cd ../$name-$version.static
./configure --prefix=/usr \
--disable-system \
--enable-linux-user \
--static \
--target-list=aarch64-linux-user,x86_64-linux-user \
${opts[@]}
}
build () {
make -C ../$name-$version.static $jobs
make $jobs
}
package () {
make -C ../$name-$version.static install $jobs
make install $jobs
}
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='tmux'
release='1'
version='3.3a'
release='2'
version='3.4'
url='https://github.com/tmux/tmux'
description='Teminal multiplexer'
email='aliriza.keskin@pardus.org.tr'
@@ -10,7 +10,7 @@ license=('GPLv3')
source=("https://github.com/tmux/tmux/releases/download/$version/tmux-$version.tar.gz")
depends=(ncurses libevent)
makedepends=()
md5sums=('8eee5883b9f6550fa4efaad0c9ec38f3')
sha256sums=('551ab8dea0bf505c0ad6b7bb35ef567cdde0ccb84357df142c254f35a23e19aa')
group=(app.misc)
uses=()
arch=('x86_64')