Compare commits

..

13 Commits

23 changed files with 463 additions and 131 deletions

1
ports/g/go/.nostrip Normal file
View File

@ -0,0 +1 @@
.*

38
ports/g/go/Pkgfile Normal file
View File

@ -0,0 +1,38 @@
# Description: The Go Programming Language
# URL: https://go.dev/
# Maintainer: Alexander Zhirov
name=go
version=1.22.1
release=1
source=(
https://golang.org/dl/go${version}.src.tar.gz
https://golang.org/dl/go${version}.linux-amd64.tar.gz
)
unpack_source() {
install -d $SRC/go${version}
bsdtar -xf $PKGMK_SOURCE_DIR/go${version}.linux-amd64.tar.gz \
-C $SRC/go${version} --strip-components=1
bsdtar -xf $PKGMK_SOURCE_DIR/go${version}.src.tar.gz \
-C $SRC
}
build() {
export GOCACHE=$SRC/go-build
export GOROOT_BOOTSTRAP=$SRC/go${version}
export GOROOT_FINAL=/usr/lib/go
cd go/src
./make.bash
install -d $PKG/usr/lib
mv $SRC/go $PKG/usr/lib/
install -d $PKG/usr/bin
ln -s /usr/lib/go/bin/go $PKG/usr/bin/
ln -s /usr/lib/go/bin/gofmt $PKG/usr/bin/
find $PKG \( -name "README*" -o -name "AUTHORS" -o -name "TODO" \) -delete
rm $PKG/usr/lib/go/src/*.bat
}

26
ports/i/idesk/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: Window manager: speed, simplicity, and not getting in the user's way.
# URL: http://www.icewm.org/
# Maintainer: Alexander Zhirov
# Depends on: imlib xorg-libice xorg-libxft xorg-libxinerama xorg-mkfontdir
name=idesk
version=0.7.8
release=1
source=(
https://github.com/neagix/idesk/archive/refs/tags/v$version.tar.gz
version.patch
)
build() {
cd $name-$version
patch -d . -p0 < ../version.patch
./configure \
--prefix=/usr
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
}

View File

@ -0,0 +1,11 @@
--- configure 2021-12-23 23:18:54.000000000 +0000
+++ configure 2024-03-21 17:05:38.062996718 +0000
@@ -1335,7 +1335,7 @@
-VERSION=0.7.5
+VERSION=0.7.8
PACKAGE=idesk
ac_config_headers="$ac_config_headers config.h"

View File

@ -5,10 +5,10 @@
name=mc name=mc
version=4.8.31 version=4.8.31
release=1 release=2
source=( source=(
https://github.com/MidnightCommander/mc/archive/refs/tags/${version}.tar.gz https://github.com/MidnightCommander/mc/archive/refs/tags/${version}.tar.gz
dracula.ini electricblue256.ini
) )
build() { build() {
@ -26,6 +26,6 @@ build() {
make DESTDIR=$PKG install make DESTDIR=$PKG install
rm $PKG/usr/lib/mc/*/README* rm $PKG/usr/lib/mc/*/README*
rm $PKG/usr/share/mc/skins/*
cp $SRC/dracula.ini $PKG/usr/share/mc/skins/default.ini cp $SRC/electricblue256.ini $PKG/usr/share/mc/skins/electricblue256.ini
} }

View File

@ -1,127 +0,0 @@
[skin]
description = Dracula
[Lines]
horiz =
vert =
lefttop =
righttop =
leftbottom =
rightbottom =
topmiddle =
bottommiddle =
leftmiddle =
rightmiddle =
cross =
dhoriz =
dvert =
dlefttop =
drighttop =
dleftbottom =
drightbottom =
dtopmiddle =
dbottommiddle =
dleftmiddle =
drightmiddle =
[core]
_default_ = white;default
selected = white;red
marked = brightgreen;black
markselect = brightgreen;blue
gauge = black;white
input = white;black
inputunchanged = brightgreen;black
inputmark = black;white
disabled = brightgreen;black
reverse = brightgreen;black
commandlinemark = black;white
header = white;black
inputhistory =
commandhistory =
[dialog]
_default_ = white;black
dfocus = white;blue
dhotnormal = brightgreen;black
dhotfocus = brightgreen;blue
dtitle = brightgreen;black
[error]
_default_ = red;black
errdfocus = black;red
errdhotnormal = brightred;black
errdhotfocus = brightgreen;red
errdtitle = brightgreen;black
[filehighlight]
directory = blue;
executable = brightgreen;
symlink = brightgreen;
hardlink =
stalelink = brightred;
device = brightgreen;
special = brightgreen;
core = red;
temp = brightgreen;
archive = brightgreen;
doc = white;
source = brightcyan;
media = brightgreen;
graph = cyan;
database = brightred;
[menu]
_default_ = white;black
menusel = white;blue
menuhot = brightgreen;black
menuhotsel = brightgreen;blue
menuinactive = brightgreen;black
[popupmenu]
_default_ = white;black
menusel = white;blue
menutitle = white;black
[buttonbar]
hotkey = white;blue
button = white;black
[statusbar]
_default_ = white;black
[help]
_default_ = white;black
helpitalic = red;black
helpbold = brightgreen;black
helplink = blue;black
helpslink = white;blue
helptitle = brightgreen;black
[editor]
_default_ = white;black
editbold = brightgreen;blue
editmarked = black;cyan
editwhitespace = brightblue;blue
editlinestate = white;cyan
bookmark = white;red
bookmarkfound = black;brightgreen
editrightmargin = brightblue;black
editframe = brightgreen;
editframeactive = white;
editframedrag = brightblue;
[viewer]
_default_ = white;black
viewbold = brightgreen;blue
viewunderline = brightred;blue
viewselected = brightgreen;cyan
[diffviewer]
added = white;brightgreen
changedline = blue;cyan
changednew = red;cyan
changed = white;cyan
removed = white;red
error = red;white
[widget-common]
sort-sign-up =
sort-sign-down =
[widget-panel]
hiddenfiles-sign-show =
hiddenfiles-sign-hide =
history-prev-item-sign = «
history-next-item-sign = »
history-show-list-sign = ^
filename-scroll-left-char = «
filename-scroll-right-char = »
[widget-editor]
window-state-char =
window-close-char =

View File

@ -0,0 +1,144 @@
# alexk7110 ElectricBlue Midnight Comander skin
[skin]
description = electricblue256 (user)
256colors = true
[Lines]
horiz =
vert =
lefttop =
righttop =
leftbottom =
rightbottom =
topmiddle =
bottommiddle =
leftmiddle =
rightmiddle =
cross =
dhoriz =
dvert =
dlefttop =
drighttop =
dleftbottom =
drightbottom =
dtopmiddle =
dbottommiddle =
dleftmiddle =
drightmiddle =
[core]
_default_ = color254;color235
selected = color254;color240
marked = color226;;bold
markselect = color226;color240;bold
gauge = color237;color39
input = color39;color235;bold
inputmark = color51;color39;bold
inputunchanged = color32;color235;bold
commandlinemark = color235;color39;bold
reverse = color235;color39
header = color33;color235;bold
disabled = color246;color239
#inputhistory =
#commandhistory =
[dialog]
_default_ = color254;color238
dhotnormal = color39
dfocus = color39;color240;bold
dhotfocus = color39;color240;bold
dtitle = color33;color238;bold
[error]
_default_ = color238;color39
errdfocus = color254;color238
errdhotnormal = color254;color39;bold
errdhotfocus = color254;color238;bold
errdtitle = color254;;bold
[filehighlight]
directory = color246;;bold
executable = color78
symlink = color44
hardlink =
stalelink = color203
device = color62
special = color142
core = color197
temp = color245
archive = color247
doc = color254
source = color45
media = color75
graph = color38
database = color76
[menu]
_default_ = color254;color235
menusel = color235;color39
menuhot = color39
menuhotsel = color235;color39
menuinactive = color244
[popupmenu]
_default_ = color254;color235
menusel = color235;color39
menutitle = color33;;bold
[buttonbar]
button = color251;color235
hotkey = color39;color235;bold
[statusbar]
_default_ = color254;color39
[help]
_default_ = color252;color239
helpitalic = color159;;bold
helpbold = color116;;bold
helplink = color45
helpslink = color252;color39;bold
helptitle = color33;;bold
[editor]
_default_ = color254;color235
editbold = color235;color39;bold
editmarked = color235;color39;bold
editwhitespace = color56;color234
editlinestate = color66;color235
bookmark = ;color239
bookmarkfound = ;color239;bold
editrightmargin = ;color235;bold
[viewer]
_default_ = color254;color235
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color254;color39;bold
[diffviewer]
changedline = color231;color29
changednew = color232;color78
changed = color231;color39
added = color232;color81
removed = ;color235
error = color231;color160
[widget-common]
sort-sign-up =
sort-sign-down =
[widget-panel]
hiddenfiles-sign-show =
hiddenfiles-sign-hide =
history-prev-item-sign = «
history-next-item-sign = »
history-show-list-sign = ^
[widget-scollbar]
first-vert-char =
last-vert-char =
first-horiz-char = «
last-horiz-char = »
current-char =
background-char =

14
ports/p/pkgutils/Pkgfile Normal file
View File

@ -0,0 +1,14 @@
# Description: A set of utilities to manage software packages
# URL: https://crux.nu/gitweb/?p=tools/pkgutils.git
# Maintainer: Alexander Zhirov
# Depends on: libarchive
name=pkgutils
version=5.40.10
release=1
source=(https://crux.nu/files/$name-$version.tar.xz)
build () {
cd $name-$version
make DESTDIR=$PKG install
}

24
ports/p/prt-get/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: A utility to simplify ports searching/installing
# URL: https://crux.nu/gitweb/?p=tools/prt-get.git;a=summary
# Maintainer: Alexander Zhirov
name=prt-get
version=5.19.6
release=1
source=(
http://crux.nu/files/prt-get-$version.tar.xz
prt-get.conf
prt-get.aliases
)
build() {
cd ${name}-${version}
./configure --prefix=/usr
make
make DESTDIR=$PKG install
install -m 644 $SRC/prt-get.{conf,aliases} $PKG/etc/
install -d $PKG/var/lib/pkg
touch $PKG/var/lib/pkg/prt-get.locker
}

View File

@ -0,0 +1,4 @@
jdk8-bin: openjdk8
librsvg-compat: librsvg
mariadb: mysql
rust-bin: rust

View File

@ -0,0 +1,52 @@
###
### /etc/prt-get.conf: prt-get(8) configuration
###
## configure directories prt-get will source ports from
## note: the order matters: the package found first is used
prtdir /usr/ports/core
prtdir /usr/ports/opt
prtdir /usr/ports/xorg
## the following line enables the multilib compat-32 collection
#prtdir /usr/ports/compat-32
## the following line enables the user maintained contrib collection
#prtdir /usr/ports/contrib
## use mypackage from local directory
#prtdir /home/packages/build:mypackage
## log options
## logfile variables: %p=path to port dir,
## %n=port name, %v=version, %r=release
#writelog enabled # (enabled|disabled)
#logmode overwrite # (append|overwrite)
#rmlog_on_success yes # (no|yes)
logfile /var/log/pkgbuild/%n.log
## use alternate cache file (default: /var/lib/pkg/prt-get.cache)
#cachefile /mnt/nfs/cache
## print README information
#readme verbose # (verbose|compact|disabled)
## prefer higher versions in sysup / diff
#preferhigher no # (yes|no)
## use regexp search
#useregex no # (yes|no)
## run pre- and post-installs scripts; yes is equivalent to the
## --install-scripts option
runscripts yes # (no|yes)
### EXPERT SECTION ###
## alternative commands
#makecommand pkgmk
#addcommand pkgadd
#removecommand pkgrm
#runscriptcommand sh
# End of file

View File

@ -0,0 +1,14 @@
# Description: The free Arimo Nerd font family.
# URL: https://www.nerdfonts.com/
# Maintainer: Alexander Zhirov
# Depends on: xorg-mkfontdir, xorg-mkfontscale, xorg-bdftopcf, xorg-font-util
name=Arimo
version=3.1.1
release=1
source=(https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/$name.tar.xz)
build() {
mkdir -p $PKG/usr/share/fonts/X11/TTF
mv ArimoNerdFont*.ttf $PKG/usr/share/fonts/X11/TTF/.
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
mkfontdir /usr/share/fonts/X11/TTF
mkfontscale /usr/share/fonts/X11/TTF

View File

@ -0,0 +1,14 @@
# Description: The free Tinos Nerd font family.
# URL: https://www.nerdfonts.com/
# Maintainer: Alexander Zhirov
# Depends on: xorg-mkfontdir, xorg-mkfontscale, xorg-bdftopcf, xorg-font-util
name=Tinos
version=3.1.1
release=1
source=(https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/$name.tar.xz)
build() {
mkdir -p $PKG/usr/share/fonts/X11/TTF
mv TinosNerdFont*.ttf $PKG/usr/share/fonts/X11/TTF/.
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
mkfontdir /usr/share/fonts/X11/TTF
mkfontscale /usr/share/fonts/X11/TTF

View File

@ -0,0 +1,14 @@
# Description: The free Ubuntu Nerd font family.
# URL: https://www.nerdfonts.com/
# Maintainer: Alexander Zhirov
# Depends on: xorg-mkfontdir, xorg-mkfontscale, xorg-bdftopcf, xorg-font-util
name=Ubuntu
version=3.1.1
release=1
source=(https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/$name.tar.xz)
build() {
mkdir -p $PKG/usr/share/fonts/X11/TTF
mv UbuntuNerdFont*.ttf $PKG/usr/share/fonts/X11/TTF/.
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
mkfontdir /usr/share/fonts/X11/TTF
mkfontscale /usr/share/fonts/X11/TTF

View File

@ -0,0 +1,14 @@
# Description: The free Ubuntu Mono Nerd font family.
# URL: https://www.nerdfonts.com/
# Maintainer: Alexander Zhirov
# Depends on: xorg-mkfontdir, xorg-mkfontscale, xorg-bdftopcf, xorg-font-util
name=UbuntuMono
version=3.1.1
release=1
source=(https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/$name.tar.xz)
build() {
mkdir -p $PKG/usr/share/fonts/X11/TTF
mv UbuntuMonoNerdFont*.ttf $PKG/usr/share/fonts/X11/TTF/.
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
mkfontdir /usr/share/fonts/X11/TTF
mkfontscale /usr/share/fonts/X11/TTF

View File

@ -0,0 +1,18 @@
# Description: XCB utilities library
# URL: https://xcb.freedesktop.org/
# Maintainer: Alexander Zhirov
# Depends on: xorg-xcb-util-image xorg-xcb-util-renderutil
name=xorg-xcb-util-cursor
version=0.1.5
release=1
source=(https://xorg.freedesktop.org/archive/individual/lib/xcb-util-cursor-$version.tar.xz)
build() {
cd xcb-util-cursor-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,16 @@
# Description: XCB utility functions for the X resource manager
# URL: https://github.com/Airblader/xcb-util-xrm
# Maintainer: Alexander Zhirov
# Depends on: xorg-xcb-util xorg-libx11
name=xorg-xcb-util-xrm
version=1.3
release=1
source=(https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/xcb-util-xrm-${version}.tar.bz2)
build() {
cd xcb-util-xrm-${version}
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

26
ports/x/xterm/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: Termulator emulator for X Windows
# URL: https://invisible-island.net/xterm/xterm.html
# Maintainer: Alexander Zhirov
# Depends on: util-linux xorg-font-alias xorg-font-misc-misc xorg-libxaw
name=xterm
version=390
release=1
source=(https://invisible-mirror.net/archives/$name/$name-$version.tgz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--with-app-defaults=/usr/share/X11/app-defaults/ \
--disable-nls \
--enable-256-color \
--enable-wide-chars
make
make install DESTDIR=$PKG
install -d $PKG/usr/share/applications
install -m 0644 xterm.desktop $PKG/usr/share/applications
}

13
ports/x/xxhash/Pkgfile Normal file
View File

@ -0,0 +1,13 @@
# Description: extremely fast, noncryptographic hash algorithm
# URL: https://github.com/Cyan4973/xxHash
# Maintainer: Alexander Zhirov
name=xxhash
version=0.8.2
release=1
source=(https://github.com/Cyan4973/xxHash/archive/v$version/$name-$version.tar.gz)
build() {
cd xxHash-$version
make PREFIX=/usr DESTDIR=$PKG install
}