diff options
author | Drobot Viktor | 2019-10-05 00:56:46 +0300 |
---|---|---|
committer | Drobot Viktor | 2019-10-05 00:56:46 +0300 |
commit | a9940d16076b37e2445aeed0a5c72bebd29f3bbb (patch) | |
tree | 08cb34b5ea9173d49358a5fbad61019c9efd92db | |
download | aur-a9940d16076b37e2445aeed0a5c72bebd29f3bbb.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c67575e960b2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = aurrpkgs-git + pkgdesc = Manage AUR R packages + pkgver = r8.86048fb + pkgrel = 1 + url = https://github.com/dvdesolve/aurrpkgs + arch = any + license = GPL3 + depends = python>=3.2.0 + provides = aurrpkgs + conflicts = aurrpkgs + source = aurrpkgs-git::git+https://github.com/dvdesolve/aurrpkgs.git + sha1sums = SKIP + +pkgname = aurrpkgs-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5432ed3ab4ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com + +pkgname=aurrpkgs-git +pkgver=r8.86048fb +pkgrel=1 +pkgdesc="Manage AUR R packages " +arch=(any) +license=('GPL3') +url="https://github.com/dvdesolve/aurrpkgs" +depends=('python>=3.2.0') +provides=('aurrpkgs') +conflicts=('aurrpkgs') +source=("$pkgname::git+https://github.com/dvdesolve/aurrpkgs.git") +sha1sums=('SKIP') + +pkgver() { + cd "${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${pkgname}" + + install -Dm755 aurrpkgs.py "${pkgdir}/usr/bin/aurrpkgs" +} |