add agetpkg

upg adw-gtk3 ansiweather crow-translate cwm evdi fedistar firejail-git python-textrual
This commit is contained in:
joborun linux 2024-02-08 21:22:25 +02:00
parent 47b394b53b
commit a70e5e0ff4
5 changed files with 73 additions and 0 deletions

38
agetpkg/PKGBUILD Normal file
View File

@ -0,0 +1,38 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=agetpkg
pkgver=4.r0.g673e371
pkgrel=02
pkgdesc='Archlinux Archive Get Package (Git version)'
url='https://github.com/seblu/agetpkg'
makedepends=('git')
conflicts=('agetpkg-git')
provides=('agetpkg')
source=("${pkgname}::git+${url}.git")
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
package() {
cd "$srcdir/$pkgname"
depends=('python' 'python-xdg')
install -Dm755 agetpkg "$pkgdir/usr/bin/agetpkg"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL2')
sha256sums=('SKIP')
## 2967c246f04a1ea185194553889f51418ff2302dbfdaec6a8de71932b4bd176a agetpkg-4.r0.g673e371-02-x86_64.pkg.tar.lz

27
agetpkg/PKGBUILD-aur Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Sébastien Luttringer
pkgname=agetpkg-git
pkgver=4.r0.g673e371
pkgrel=1
pkgdesc='Archlinux Archive Get Package (Git version)'
arch=('any')
url='https://github.com/seblu/agetpkg'
license=('GPL2')
makedepends=('git')
depends=('python' 'python-xdg')
conflicts=('agetpkg')
provides=('agetpkg')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 agetpkg "$pkgdir/usr/bin/agetpkg"
}
# vim:set ts=2 sw=2 et:

1
agetpkg/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,agetpkg}

1
agetpkg/deps Normal file
View File

@ -0,0 +1 @@
git

6
agetpkg/time Normal file
View File

@ -0,0 +1,6 @@
real 0m2.424s
user 0m1.507s
sys 0m0.444s