Add astreamfs-git, doomsday, pacaudit

This commit is contained in:
Travis Burtrum 2020-02-16 15:05:10 -05:00
parent 4883b4b1b5
commit 07fb1cfb7d
3 changed files with 115 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Maintainer: Foxy <gmail: foxyblackhat@gmail.com>
pkgname=astreamfs-git
pkgver=r154.5186593
pkgrel=1
pkgdesc='Fuse filesystem to read http(s) URL'
arch=(i686 x86_64)
url='https://gitlab.com/BylonAkila/astreamfs'
license=(GPL3)
depends=('fuse')
makedepends=('git')
source=(git+https://gitlab.com/BylonAkila/astreamfs.git)
sha1sums=('SKIP')
pkgver() {
cd astreamfs
echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd astreamfs
make
}
package() {
cd astreamfs
install -Dm755 astreamfs "${pkgdir}/usr/bin/astreamfs"
install -Dm755 1fichier "${pkgdir}/usr/bin/1fichier"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

53
src/doomsday/PKGBUILD Normal file
View File

@ -0,0 +1,53 @@
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Elrond46 <elrond94 lol com>
# Contributor: Zohar Malamant <dotfloat gmail com>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
# Contributor: Dmitry Shilov <stormblast@land.ru>
pkgname=doomsday
pkgver=2.2.1
pkgrel=1
pkgdesc="An advanced Doom engine that supports DOOM, Heretic and Hexen."
url="http://dengine.net/"
arch=('i686' 'x86_64')
license=('GPL2')
conflicts=('doomsday-bin')
provides=('assimp')
depends=('hicolor-icon-theme' 'qt5-x11extras' 'sdl2_mixer' 'fluidsynth' 'lib32-fluidsynth' 'openal' 'libxrandr' 'minizip')
makedepends=('imagemagick' 'cmake' 'xorg-server-devel' 'assimp' 'python')
optdepends=('doom1-wad: Doom shareware',
'heretic1-wad: Heretic shareware',
'hexen1-wad: Hexen shareware'
'soundfont-fluid')
source=("http://files.dengine.net/archive/doomsday-$pkgver.tar.gz")
sha256sums=('116dad77943658097183a0b7ddb92a3354fb3c6996cddfc0517da1b15ce0e806')
build() {
# Enter build directory
cd $srcdir/$pkgname-$pkgver/$pkgname
# Generate makefiles using qmake
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd $srcdir/$pkgname-$pkgver/$pkgname/build
make install DESTDIR="$pkgdir"
# Delete the contents of /usr/include/assimp as this package already provides it
rm -r $pkgdir/usr/include/assimp
# Look for WADs in /usr/share/games/doom by default
mkdir -p "${pkgdir}/etc/doomsday"
echo "iwaddir: /usr/share/games/doom" > "${pkgdir}/etc/doomsday/paths"
# For Music
echo "Do not forget to start fluidsynth service after adding your soundfonts to etc/conf.d/fluidsynth (SOUND_FONT line) if you want to use fluidsynth music output"
}

33
src/pacaudit/PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# Maintainer: Steffen Fritz <aur AT fritz DOT wtf>
# Packager: Steffen Fritz <aur AT fritz DOT wtf>
pkgname=pacaudit
pkgver=1.1.1
pkgrel=1
pkgdesc="This package audits installed packages against known vulnerabilities."
arch=('i686' 'x86_64')
url="https://github.com/steffenfritz/pacaudit"
license=('GPL3')
makedepends=('go')
options=('!strip')
sha256sums=('3230c7e77959b2a021033dd40dbeba17224177b326b3d6da7870ea255919a1b3')
source=("https://github.com/steffenfritz/pacaudit/archive/v$pkgver.tar.gz")
prepare(){
mkdir -p src/github.com/steffenfritz
ln -rTsf "${pkgname}-${pkgver}" src/github.com/steffenfritz/pacaudit
}
build() {
cd "$pkgname-$pkgver"
go build -o pacaudit -ldflags "-w" -buildmode=pie
}
package() {
install -Dm755 "$srcdir"/pacaudit-${pkgver}/pacaudit "$pkgdir/usr/bin/pacaudit"
install -Dm755 "$srcdir"/pacaudit-${pkgver}/pacaudit.sh "$pkgdir/usr/bin/pacaudit.sh"
install -Dm755 "$srcdir"/pacaudit-${pkgver}/pacaudit-pre.hook "$pkgdir/usr/share/libalpm/hooks/pacaudit-pre.hook"
install -Dm644 "$srcdir"/pacaudit-$pkgver/pacaudit.1 "${pkgdir}/usr/share/man/man1/pacaudit.1"
}