add agetpkg
upg adw-gtk3 ansiweather crow-translate cwm evdi fedistar firejail-git python-textrual
This commit is contained in:
parent
47b394b53b
commit
a70e5e0ff4
|
@ -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
|
||||
|
|
@ -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:
|
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,agetpkg}
|
|
@ -0,0 +1 @@
|
|||
git
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m2.424s
|
||||
user 0m1.507s
|
||||
sys 0m0.444s
|
||||
|
Loading…
Reference in New Issue