summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore28
l---------aarch64/mepo/PKGBUILD1
l---------aarch64/qrcp-bin/PKGBUILD1
l---------aarch64/sdcv-git/PKGBUILD1
-rw-r--r--any/fsh-git/PKGBUILD25
-rw-r--r--any/pass-otp_fix-hotp-counter-git/PKGBUILD30
-rw-r--r--any/vidir2-git/PKGBUILD26
-rw-r--r--pkgbuilds/dwm_fly-git/PKGBUILD33
-rw-r--r--pkgbuilds/mepo/PKGBUILD45
-rw-r--r--pkgbuilds/qrcp-bin/PKGBUILD (renamed from PKGBUILD)16
-rw-r--r--pkgbuilds/sdcv-git/PKGBUILD42
-rw-r--r--pkgbuilds/xcross-git/PKGBUILD31
-rw-r--r--update.sh36
l---------x86_64/dwm_fly-git/PKGBUILD1
l---------x86_64/mepo/PKGBUILD1
l---------x86_64/qrcp-bin/PKGBUILD1
l---------x86_64/sdcv-git/PKGBUILD1
l---------x86_64/xcross-git/PKGBUILD1
19 files changed, 252 insertions, 91 deletions
diff --git a/.SRCINFO b/.SRCINFO
deleted file mode 100644
index fb5219b..0000000
--- a/.SRCINFO
+++ /dev/null
@@ -1,23 +0,0 @@
-pkgbase = qrcp-bin
- pkgdesc = Transfer files over wifi from your computer to your mobile device by scanning a QR code without leaving the terminal.
- pkgver = 0.10.1
- pkgrel = 4
- url = https://github.com/claudiodangelis/qrcp
- arch = x86_64
- arch = i386
- arch = armv7h
- arch = aarch64
- license = MIT
- provides = qrcp
- conflicts = qrcp
- conflicts = qrcp-git
- source_x86_64 = qrcp-bin-0.10.1.tar.gz::https://github.com/claudiodangelis/qrcp/releases/download/0.10.1/qrcp_0.10.1_linux_x86_64.tar.gz
- sha256sums_x86_64 = d9f1bdf1c9ae80dd7e731556be75341cf76e3462b6ae8405ca4f608c5370fd16
- source_i386 = qrcp-bin-0.10.1.tar.gz::https://github.com/claudiodangelis/qrcp/releases/download/0.10.1/qrcp_0.10.1_linux_i386.tar.gz
- sha256sums_i386 = ce95248a65548ab15f12acba7cd642c83efeb261bb28a92d6d913fa6ed48bb3a
- source_armv7h = qrcp-bin-0.10.1.tar.gz::https://github.com/claudiodangelis/qrcp/releases/download/0.10.1/qrcp_0.10.1_linux_armv7h.tar.gz
- sha256sums_armv7h = 0442a9dff291e1188d64fe6e080fd7e5ce4eaf31405410ac37699ac0c4c7149e
- source_aarch64 = qrcp-bin-0.10.1.tar.gz::https://github.com/claudiodangelis/qrcp/releases/download/0.10.1/qrcp_0.10.1_linux_arm64.tar.gz
- sha256sums_aarch64 = 27b1f2b9004ecf967a4abe95bd324b99b4f077f0c627ad96ea16e18644dce26e
-
-pkgname = qrcp-bin
diff --git a/.gitignore b/.gitignore
index e5114db..5ed126e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,22 +1,6 @@
-
-# Created by https://www.toptal.com/developers/gitignore/api/archlinuxpackages
-# Edit at https://www.toptal.com/developers/gitignore?templates=archlinuxpackages
-
-### ArchLinuxPackages ###
-*.tar
-*.tar.*
-*.jar
-*.exe
-*.msi
-*.zip
-*.tgz
-*.log
-*.log.*
-*.sig
-
-pkg/
-src/
-
-# End of https://www.toptal.com/developers/gitignore/api/archlinuxpackages
-
-checksums.txt*
+# https://stackoverflow.com/a/9227991/9008720
+# https://stackoverflow.com/q/987142/9008720
+# not fully understood, single asterisk * behave so weird
+/*/**
+!/*/*/
+!/*/*/PKGBUILD
diff --git a/aarch64/mepo/PKGBUILD b/aarch64/mepo/PKGBUILD
new file mode 120000
index 0000000..83e4383
--- /dev/null
+++ b/aarch64/mepo/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/mepo/PKGBUILD \ No newline at end of file
diff --git a/aarch64/qrcp-bin/PKGBUILD b/aarch64/qrcp-bin/PKGBUILD
new file mode 120000
index 0000000..b96d16d
--- /dev/null
+++ b/aarch64/qrcp-bin/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/qrcp-bin/PKGBUILD \ No newline at end of file
diff --git a/aarch64/sdcv-git/PKGBUILD b/aarch64/sdcv-git/PKGBUILD
new file mode 120000
index 0000000..4db03ce
--- /dev/null
+++ b/aarch64/sdcv-git/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/sdcv-git/PKGBUILD \ No newline at end of file
diff --git a/any/fsh-git/PKGBUILD b/any/fsh-git/PKGBUILD
new file mode 100644
index 0000000..a0ce63c
--- /dev/null
+++ b/any/fsh-git/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Xiao Pan <gky44px1999@gmail.com>
+
+pkgname=fsh-git
+pkgver=r3.368c1b9
+pkgrel=3
+pkgdesc='My shell scripts utilities'
+arch=('any')
+url='https://git.flylightning.xyz/fsh'
+license=('AGPL-3.0-only')
+depends=('sh')
+makedepends=('git')
+provides=('fsh')
+conflicts=('fsh')
+source=("git+$url")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make PREFIX=/usr DESTDIR="$pkgdir/" install
+}
diff --git a/any/pass-otp_fix-hotp-counter-git/PKGBUILD b/any/pass-otp_fix-hotp-counter-git/PKGBUILD
new file mode 100644
index 0000000..0c2897c
--- /dev/null
+++ b/any/pass-otp_fix-hotp-counter-git/PKGBUILD
@@ -0,0 +1,30 @@
+# Contibutor: Morten Linderud <foxboron@archlinux.org>
+# Contibutor: Alexandre Pujol <alexandre@pujol.io>
+
+pkgname='pass-otp_fix-hotp-counter-git'
+pkgver=r136.0447ae4
+pkgrel=2
+# https://github.com/tadfisher/pass-otp/pull/172
+pkgdesc='A pass extension for managing one-time-password (OTP) tokens. With hotp counter fix.'
+arch=('any')
+url='https://github.com/jorti/pass-otp'
+license=('GPL3')
+depends=('pass'
+ 'oath-toolkit'
+ 'qrencode')
+makedepends=('git')
+optdepends=('perl-pass-otp')
+provides=('pass-otp')
+conflicts=('pass-otp')
+source=("git+$url.git#branch=fix-hotp-counter")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%_fix-hotp-counter-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/${pkgname%_fix-hotp-counter-git}"
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+}
diff --git a/any/vidir2-git/PKGBUILD b/any/vidir2-git/PKGBUILD
new file mode 100644
index 0000000..961c628
--- /dev/null
+++ b/any/vidir2-git/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Xiao Pan <gky44px1999@gmail.com>
+
+pkgname=vidir2-git
+pkgver=r8.0a23b6a
+pkgrel=1
+pkgdesc='An extension to vidir from moreutils allowing copy and editing of symlinks'
+arch=('any')
+url='https://github.com/DamienRobert/vidir2'
+license=('GPL2')
+depends=('perl')
+makedepends=('git')
+provides=('vidir2')
+conflicts=('vidir2')
+source=("git+$url.git")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ install -D vidir2 -t "$pkgdir/usr/bin"
+ install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}
diff --git a/pkgbuilds/dwm_fly-git/PKGBUILD b/pkgbuilds/dwm_fly-git/PKGBUILD
new file mode 100644
index 0000000..20375b0
--- /dev/null
+++ b/pkgbuilds/dwm_fly-git/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Xiao Pan <gky44px1999@gmail.com>
+
+pkgname=dwm_fly-git
+pkgver=r1813.c348f5b
+pkgrel=1
+pkgdesc='My fork of dwm'
+arch=('x86_64')
+url='https://git.flylightning.xyz/dwm_fly'
+license=('MIT')
+depends=('libx11' 'libxinerama' 'libxft')
+makedepends=('git')
+provides=('dwm')
+conflicts=('dwm')
+source=("git+$url#branch=fly")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ # dwm config.mk default PREFIX=/usr/local, but if use default will return error, but manually sudo make install returns no error, not sure why, need to use PREFIX=/usr, more see:
+ # https://stackoverflow.com/questions/50743619/exists-in-filesystem-owned-by-filesystem-in-pkgbuild-for-arch-linux
+ make PREFIX=/usr DESTDIR="$pkgdir/" install
+ install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
+}
diff --git a/pkgbuilds/mepo/PKGBUILD b/pkgbuilds/mepo/PKGBUILD
new file mode 100644
index 0000000..4a06dc1
--- /dev/null
+++ b/pkgbuilds/mepo/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Robert Hamblin <hamblingreen@hotmail.com>
+# Contributor: Rene Hickersberger <r@renehsz.com>
+# Contributor: Dimitri Kaparis <dimitri@kaparis.name>
+pkgname=mepo
+pkgver=1.3.3
+pkgrel=2
+pkgdesc="Fast, simple, and hackable OSM map viewer for Linux"
+arch=('i686' 'x86_64' 'arm' 'aarch64')
+url="https://git.sr.ht/~mil/mepo"
+license=('GPL3')
+depends=('jq' 'curl' 'zenity' 'xorg-xwininfo' 'geoclue' 'ncurses' 'findutils' 'sdl2_gfx' 'sdl2_image' 'sdl2_ttf')
+makedepends=('zig>=0.13.0' 'sdl2')
+checkdepends=('zig>=0.13.0')
+changelog=
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('9d5b1c7dc411c9d5258753d3c43b4ba55d6b460044fbd3a8872f4532f5b3472123b43368910a46724bcce238d19e66dfd552810a96cb16bf84f67f04b1f6b2e4')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ zig build -Doptimize=ReleaseSafe
+ zig-out/bin/mepo -docmd > doc.md
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+
+ zig build test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/applications"
+ mkdir -p "$pkgdir/usr/share/pixmaps"
+ mkdir -p "$pkgdir/usr/share/doc/$pkgname"
+ install scripts/mepo_* "$pkgdir/usr/bin/"
+ install "zig-out/bin/mepo" "$pkgdir/usr/bin/"
+ sed -i 's:/usr/libexec:/usr/lib:g' $pkgdir/usr/bin/mepo_ui_menu_user_pin_updater.sh
+ install "zig-out/share/applications/mepo.desktop" "$pkgdir/usr/share/applications"
+ install "zig-out/share/pixmaps/mepo.png" "$pkgdir/usr/share/pixmaps"
+ install "doc.md" -t "$pkgdir/usr/share/doc/$pkgname/"
+}
+
diff --git a/PKGBUILD b/pkgbuilds/qrcp-bin/PKGBUILD
index a106f8c..5b539ca 100644
--- a/PKGBUILD
+++ b/pkgbuilds/qrcp-bin/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Thiago Almeida <echo "dGhpYWdvYWxtZWlkYXNhQGdtYWlsLmNvbQo=" | base64 -d>
pkgname=qrcp-bin
-pkgver=0.10.1
-pkgrel=4
+pkgver=v0.11.4
+pkgrel=1
provides=("${pkgname/-bin/}")
conflicts=('qrcp' 'qrcp-git')
pkgdesc="Transfer files over wifi from your computer to your mobile device by scanning a QR code without leaving the terminal."
@@ -10,15 +10,11 @@ arch=('x86_64' 'i386' 'armv7h' 'aarch64')
url="https://github.com/claudiodangelis/qrcp"
license=('MIT')
-source_aarch64=("$pkgname-$pkgver.tar.gz::$url/releases/download/${pkgver}/${pkgname/-bin/}_${pkgver}_linux_arm64.tar.gz")
-source_armv7h=("$pkgname-$pkgver.tar.gz::$url/releases/download/${pkgver}/${pkgname/-bin/}_${pkgver}_linux_armv7h.tar.gz")
-source_i386=("$pkgname-$pkgver.tar.gz::$url/releases/download/${pkgver}/${pkgname/-bin/}_${pkgver}_linux_i386.tar.gz")
-source_x86_64=("$pkgname-$pkgver.tar.gz::$url/releases/download/${pkgver}/${pkgname/-bin/}_${pkgver}_linux_x86_64.tar.gz")
+source_aarch64=("$pkgname-$pkgver.tar.gz::$url/releases/download/${pkgver}/${pkgname/-bin/}_${pkgver#v}_linux_arm64.tar.gz")
+source_x86_64=("$pkgname-$pkgver.tar.gz::$url/releases/download/${pkgver}/${pkgname/-bin/}_${pkgver#v}_linux_amd64.tar.gz")
-sha256sums_aarch64=('27b1f2b9004ecf967a4abe95bd324b99b4f077f0c627ad96ea16e18644dce26e')
-sha256sums_armv7h=('0442a9dff291e1188d64fe6e080fd7e5ce4eaf31405410ac37699ac0c4c7149e')
-sha256sums_i386=('ce95248a65548ab15f12acba7cd642c83efeb261bb28a92d6d913fa6ed48bb3a')
-sha256sums_x86_64=('d9f1bdf1c9ae80dd7e731556be75341cf76e3462b6ae8405ca4f608c5370fd16')
+sha256sums_aarch64=('9ffca3f73392e8bf5867e1c319f90ecdd3e93443b25de3276d9871e3c6c3d6d3')
+sha256sums_x86_64=('5014f35156e19983af64879b84a28a9fb111e77498676e1f788ce88cf3adfa32')
build() {
./qrcp completion bash | install -Dm644 /dev/stdin share/bash-completion/completions/qrcp
diff --git a/pkgbuilds/sdcv-git/PKGBUILD b/pkgbuilds/sdcv-git/PKGBUILD
new file mode 100644
index 0000000..702ff7f
--- /dev/null
+++ b/pkgbuilds/sdcv-git/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Francesco Minnocci <ascoli dot minnocci at gmail dot com>
+
+pkgname=sdcv-git
+_pkgname=sdcv
+pkgver=0.5.3.r0.ge73388c
+pkgrel=3
+pkgdesc="StarDict Console Version - Git version"
+arch=('x86_64' 'aarch64')
+url="https://github.com/Dushistov/sdcv"
+license=('GPL')
+depends=('glib2' 'readline' 'zlib')
+makedepends=('cmake' 'git')
+source=("git+${url}.git")
+md5sums=('SKIP')
+provides=('sdcv' 'stardict')
+conflicts=('sdcv')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+
+ # Get the version number.
+ git describe --long | sed 's/^v//;s/-/.r/;s/-/./'
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+
+ install -d build
+ cd build
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+ make lang
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}/build"
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pkgbuilds/xcross-git/PKGBUILD b/pkgbuilds/xcross-git/PKGBUILD
new file mode 100644
index 0000000..b08bce5
--- /dev/null
+++ b/pkgbuilds/xcross-git/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Xiao Pan <gky44px1999@gmail.com>
+
+pkgname=xcross-git
+pkgver=r11.57ac97d
+pkgrel=2
+pkgdesc='X11 draw a cross at cursor across screen '
+arch=('x86_64')
+url='https://gitlab.com/flyxyz123/xcross'
+license=('GPL3')
+depends=('libx11')
+makedepends=('git')
+provides=('xcross')
+conflicts=('xcross')
+source=("git+$url.git")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make
+}
+
+package()
+{
+ cd "$srcdir/${pkgname%-git}"
+ make PREFIX=/usr DESTDIR="$pkgdir/" install
+}
diff --git a/update.sh b/update.sh
deleted file mode 100644
index 681f627..0000000
--- a/update.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-set -x
-
-set -eo pipefail
-
-pkgname=qrcp-bin
-
-rm ${pkgname/-bin/}* checksums.txt || true
-
-rm -rf pkg src || true
-
-[[ -n "$GITHUB_TOKEN" ]] && GITHUB_AUTH="Authorization: ${GITHUB_TOKEN}" || GITHUB_AUTH=""
-
-http https://api.github.com/repos/claudiodangelis/qrcp/releases/latest \
- "Accept: application/vnd.github.v3+json" ${GITHUB_AUTH} |
- jq -r '.assets[] | select(.name | test("^(checksums.txt|qrcp.*_linux_(x86_64|i386).tar.gz)$")) | .browser_download_url' |
- xargs -n 1 -P 3 wget
-
-sha256sum --ignore-missing --status -c checksums.txt
-
-pkgver=$(http https://api.github.com/repos/claudiodangelis/qrcp/releases/latest \
- "Accept: application/vnd.github.v3+json" ${GITHUB_AUTH} |
- jq -r '.name')
-
-I386_SHA=$(awk '/qrcp.*_linux_i386.tar.gz$/ {print $1}' checksums.txt)
-
-X86_64_SHA=$(awk '/qrcp.*_linux_x86_64.tar.gz$/ {print $1}' checksums.txt)
-
-sed -i -r 's/(pkgver=).*/\1'"${pkgver#v}"'/g' PKGBUILD
-
-sed -i -r 's/(sha256sums_x86_64=)\([A-Fa-f0-9]*\)/\1\('"$X86_64_SHA"'\)/g' PKGBUILD
-
-sed -i -r 's/(sha256sums_i386=)\([A-Fa-f0-9]*\)/\1\('"$I386_SHA"'\)/g' PKGBUILD
-
-makepkg --printsrcinfo >.SRCINFO
diff --git a/x86_64/dwm_fly-git/PKGBUILD b/x86_64/dwm_fly-git/PKGBUILD
new file mode 120000
index 0000000..a8b85a3
--- /dev/null
+++ b/x86_64/dwm_fly-git/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/dwm_fly-git/PKGBUILD \ No newline at end of file
diff --git a/x86_64/mepo/PKGBUILD b/x86_64/mepo/PKGBUILD
new file mode 120000
index 0000000..83e4383
--- /dev/null
+++ b/x86_64/mepo/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/mepo/PKGBUILD \ No newline at end of file
diff --git a/x86_64/qrcp-bin/PKGBUILD b/x86_64/qrcp-bin/PKGBUILD
new file mode 120000
index 0000000..b96d16d
--- /dev/null
+++ b/x86_64/qrcp-bin/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/qrcp-bin/PKGBUILD \ No newline at end of file
diff --git a/x86_64/sdcv-git/PKGBUILD b/x86_64/sdcv-git/PKGBUILD
new file mode 120000
index 0000000..4db03ce
--- /dev/null
+++ b/x86_64/sdcv-git/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/sdcv-git/PKGBUILD \ No newline at end of file
diff --git a/x86_64/xcross-git/PKGBUILD b/x86_64/xcross-git/PKGBUILD
new file mode 120000
index 0000000..97dca40
--- /dev/null
+++ b/x86_64/xcross-git/PKGBUILD
@@ -0,0 +1 @@
+../../pkgbuilds/xcross-git/PKGBUILD \ No newline at end of file