diff options
author | Seppia <seppia@seppia.net> | 2018-05-31 17:25:28 +0200 |
---|---|---|
committer | Seppia <seppia@seppia.net> | 2018-05-31 17:25:28 +0200 |
commit | 43cc107fc31695288132db64f7c44892e7e7f7c0 (patch) | |
tree | d9dee54ae38156cf892b5c6d5920c701ce4ac112 | |
download | repofish-git-43cc107fc31695288132db64f7c44892e7e7f7c0.tar.gz repofish-git-43cc107fc31695288132db64f7c44892e7e7f7c0.tar.bz2 repofish-git-43cc107fc31695288132db64f7c44892e7e7f7c0.zip |
Init commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..32a8020 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = repofish-git + pkgdesc = My friend told me to make available this script I wrote to manage my local archlinux repo and AUR packages, so here it is. + pkgver = r6.6857bf3 + pkgrel = 1 + url = https://git.seppia.net/repofish.git + arch = any + license = GPLv3 + makedepends = git + depends = curl + depends = git + depends = jq + depends = vim + provides = repofish + conflicts = repofish + source = repofish::git+https://git.seppia.net/repofish.git + md5sums = SKIP + +pkgname = repofish-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..749554d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Seppia <seppia@seppio.fish> +pkgname=repofish-git +pkgver=r6.6857bf3 +pkgrel=1 +pkgdesc="My friend told me to make available this script I wrote to manage my local archlinux repo and AUR packages, so here it is." +arch=('any') +url="https://git.seppia.net/repofish.git" +license=('GPLv3') +groups=() +depends=('curl' 'git' 'jq' 'vim') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=() +install= +source=('repofish::git+https://git.seppia.net/repofish.git') +noextract=() +md5sums=('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 repo.sh $pkgdir/usr/bin/repofish +} |