Move packages to srcpkgs dir
This commit is contained in:
parent
be5fc0c3b4
commit
90f470c1a6
9 changed files with 0 additions and 0 deletions
19
srcpkgs/dotter-bin/template
Normal file
19
srcpkgs/dotter-bin/template
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'dotter-bin'
|
||||
pkgname=dotter-bin
|
||||
version=0.13.3
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
hostmakedepends=""
|
||||
makedepends=""
|
||||
depends=""
|
||||
short_desc="dotfile manager and templater written in rust"
|
||||
maintainer="Marty Oehme <contact@martyoeh.me>"
|
||||
license="Unlicense"
|
||||
homepage="https://github.com/SuperCuber/dotter"
|
||||
distfiles="https://github.com/SuperCuber/dotter/releases/download/v${version}/dotter-linux-x64-musl"
|
||||
skip_extraction="dotter-linux-x64-musl"
|
||||
checksum=5442450982bebca00581bd04b14f4f10abdd4bed9493431c1ad451d9d8a80bb4
|
||||
|
||||
do_install() {
|
||||
vbin $XBPS_SRCDISTDIR/$pkgname-$version/dotter-linux-x64-musl dotter
|
||||
}
|
||||
19
srcpkgs/filtile-bin/template
Normal file
19
srcpkgs/filtile-bin/template
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
pkgname=filtile-bin
|
||||
version=1.2.1
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
depends=""
|
||||
short_desc="A layout manager for the River window manager."
|
||||
maintainer="Marty Oehme <contact@martyoeh.me>"
|
||||
license="GPL-3.0"
|
||||
homepage="https://github.com/pkulak/filtile"
|
||||
distfiles="https://github.com/pkulak/filtile/releases/download/v${version}/filtile-x86_64-unknown-linux-gnu.tar.gz"
|
||||
checksum=aa0b3e0dbb2126f44f153f2f6d1fd37f6961bf7153895aff50e3cc6bce191466
|
||||
|
||||
do_install() {
|
||||
vbindir=/usr/bin
|
||||
|
||||
mkdir -p "${DESTDIR}${vbindir}"
|
||||
|
||||
install -D -m755 filtile "${DESTDIR}${vbindir}/filtile"
|
||||
}
|
||||
70
srcpkgs/git-bug-git/template
Normal file
70
srcpkgs/git-bug-git/template
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
# Template file for 'git-bug-git'
|
||||
pkgname=git-bug-git
|
||||
version=20241209
|
||||
revision=2
|
||||
_commit=d499b6e9d3333334614924669b74640a2d0b5485
|
||||
build_style=go
|
||||
go_import_path="github.com/git-bug/git-bug"
|
||||
hostmakedepends="git"
|
||||
depends="git"
|
||||
short_desc="Distributed, offline-first bug tracker embedded in git, with bridges"
|
||||
maintainer="Marty Oehme <contact@martyoeh.me>"
|
||||
license="GPL-3.0-only"
|
||||
homepage="https://github.com/git-bug/git-bug"
|
||||
distfiles="${homepage}/archive/${_commit}.tar.gz"
|
||||
replaces="git-bug>=0"
|
||||
provides="git-bug-${version}_${revision}"
|
||||
checksum=b62c4b8145babac282c61e5467b815321eb0008d92df37403ba388432aeca01b
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
||||
vman doc/man/git-bug-bridge-auth-add-token.1
|
||||
vman doc/man/git-bug-bridge-auth-rm.1
|
||||
vman doc/man/git-bug-bridge-auth-show.1
|
||||
vman doc/man/git-bug-bridge-auth.1
|
||||
vman doc/man/git-bug-bridge-new.1
|
||||
vman doc/man/git-bug-bridge-pull.1
|
||||
vman doc/man/git-bug-bridge-push.1
|
||||
vman doc/man/git-bug-bridge-rm.1
|
||||
vman doc/man/git-bug-bridge.1
|
||||
vman doc/man/git-bug-bug-comment-edit.1
|
||||
vman doc/man/git-bug-bug-comment-new.1
|
||||
vman doc/man/git-bug-bug-comment.1
|
||||
vman doc/man/git-bug-bug-deselect.1
|
||||
vman doc/man/git-bug-bug-label-new.1
|
||||
vman doc/man/git-bug-bug-label-rm.1
|
||||
vman doc/man/git-bug-bug-label.1
|
||||
vman doc/man/git-bug-bug-new.1
|
||||
vman doc/man/git-bug-bug-rm.1
|
||||
vman doc/man/git-bug-bug-select.1
|
||||
vman doc/man/git-bug-bug-show.1
|
||||
vman doc/man/git-bug-bug-status-close.1
|
||||
vman doc/man/git-bug-bug-status-open.1
|
||||
vman doc/man/git-bug-bug-status.1
|
||||
vman doc/man/git-bug-bug-title-edit.1
|
||||
vman doc/man/git-bug-bug-title.1
|
||||
vman doc/man/git-bug-bug.1
|
||||
vman doc/man/git-bug-commands.1
|
||||
vman doc/man/git-bug-label.1
|
||||
vman doc/man/git-bug-pull.1
|
||||
vman doc/man/git-bug-push.1
|
||||
vman doc/man/git-bug-termui.1
|
||||
vman doc/man/git-bug-user-adopt.1
|
||||
vman doc/man/git-bug-user-new.1
|
||||
vman doc/man/git-bug-user-user.1
|
||||
vman doc/man/git-bug-user.1
|
||||
vman doc/man/git-bug-version.1
|
||||
vman doc/man/git-bug-webui.1
|
||||
vman doc/man/git-bug-wipe.1
|
||||
vman doc/man/git-bug.1
|
||||
|
||||
vdoc doc/README.md
|
||||
vdoc doc/architecture.md
|
||||
vdoc doc/cli-convention.md
|
||||
vdoc doc/feature_matrix.md
|
||||
vdoc doc/howto-github.md
|
||||
vdoc doc/jira_bridge.md
|
||||
vdoc doc/model.md
|
||||
vdoc doc/queries.md
|
||||
}
|
||||
4
srcpkgs/git-delta-bin/README.md
Normal file
4
srcpkgs/git-delta-bin/README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# git-delta
|
||||
|
||||
Please use the official 'delta' package in the repositories.
|
||||
This package was a test to see how to package 'binary' packages only.
|
||||
24
srcpkgs/git-delta-bin/template
Normal file
24
srcpkgs/git-delta-bin/template
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
pkgname=git-delta
|
||||
version=0.18.2
|
||||
revision=1
|
||||
short_desc='A syntax-highlighting pager for git, diff, grep, and blame output.'
|
||||
archs="x86_64"
|
||||
homepage="https://dandavison.github.io/delta"
|
||||
license="MIT License"
|
||||
distfiles="https://github.com/dandavison/delta/releases/download/${version}/delta-${version}-x86_64-unknown-linux-gnu.tar.gz"
|
||||
checksum=884b631d2cdbe6f59cabfa04501a6a647c76370e6c99fe8a342f8d6d102ed8dc
|
||||
maintainer="Marty Oehme <contact@martyoeh.me>"
|
||||
|
||||
do_install() {
|
||||
vlicensedir=/usr/share/licenses/${pkgname}
|
||||
vdocdir=/usr/share/doc/${pkgname}
|
||||
vbindir=/usr/bin
|
||||
|
||||
mkdir -p "${DESTDIR}${vlicensedir}"
|
||||
mkdir -p "${DESTDIR}${vdocdir}"
|
||||
mkdir -p "${DESTDIR}${vbindir}"
|
||||
|
||||
install -D -m644 LICENSE "${DESTDIR}${vlicensedir}/LICENSE"
|
||||
install -D -m644 README.md "${DESTDIR}${vdocdir}/README.md"
|
||||
install -D -m755 delta "${DESTDIR}${vbindir}/delta"
|
||||
}
|
||||
12
srcpkgs/ly-git/files/ly/conf
Normal file
12
srcpkgs/ly-git/files/ly/conf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
||||
|
||||
auxtty=$(/bin/cat $CONFIG_DIRECTORY/ly/config.ini 2>/dev/null 1| /bin/sed -n 's/\(^[[:space:]]*tty[[:space:]]*=[[:space:]]*\)\([[:digit:]][[:digit:]]*\)\(.*\)/\2/p')
|
||||
TTY=tty${auxtty:-$DEFAULT_TTY}
|
||||
4
srcpkgs/ly-git/files/ly/finish
Normal file
4
srcpkgs/ly-git/files/ly/finish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
exec utmpset -w ${TTY}
|
||||
13
srcpkgs/ly-git/files/ly/run
Normal file
13
srcpkgs/ly-git/files/ly/run
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} -nl $PREFIX_DIRECTORY/bin/$EXECUTABLE_NAME "${TTY}" "${BAUD_RATE}" "${TERM_NAME}"
|
||||
36
srcpkgs/ly-git/template
Normal file
36
srcpkgs/ly-git/template
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'ly'
|
||||
pkgname=ly-git
|
||||
version=20241012
|
||||
revision=1
|
||||
_commit=e125d8f1aa1544a6a106047c0acd7a7d2e0ff16c
|
||||
archs="x86_64"
|
||||
build_style=zig-build
|
||||
configure_args="installrunit -Dpie"
|
||||
hostmakedepends="git"
|
||||
makedepends="pam-devel libxcb-devel"
|
||||
depends=""
|
||||
short_desc="Display manager with console UI"
|
||||
maintainer="Marty Oehme <contact@martyoeh.me>"
|
||||
license="WTFPL"
|
||||
homepage="https://github.com/fairyglade/ly"
|
||||
#changelog=""
|
||||
distfiles="${homepage}/archive/${_commit}.tar.gz"
|
||||
checksum=5c33daa89b680ebce6dd37a0edfaa9f68066c4646708bcf020233c6a58d53561
|
||||
nostrip=yes
|
||||
|
||||
do_build() {
|
||||
DESTDIR="zig-out" zig build -j"${XBPS_MAKEJOBS}" --sysroot "${XBPS_CROSS_BASE}" --search-prefix "${XBPS_CROSS_BASE}/usr" --prefix /usr --global-cache-dir /host/zig --verbose
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vlicense license.md
|
||||
vdoc readme.md
|
||||
vbin zig-out/usr/bin/ly
|
||||
vmkdir /etc/ly
|
||||
vinstall res/config.ini 0644 /etc/ly
|
||||
vinstall res/setup.sh 0755 /etc/ly
|
||||
vinstall res/pam.d/ly 0644 /etc/pam.d
|
||||
vcopy res/lang /etc/ly/lang
|
||||
|
||||
vsv ly
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue