summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-12 20:48:13 +0800
committerChocobo12017-08-12 21:00:16 +0800
commit6f92020acc3e3c85896d29aac9f4385feaa9ad99 (patch)
tree5713e429e6bf76f960f6ace13115b58838096417
downloadaur-tar-git.tar.gz
newpkg: tar-git 1.29.r24.gede0d1b-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD42
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5546ceb37fc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = tar-git
+ pkgdesc = Utility used to store, backup, and transport files
+ pkgver = 1.29.r24.gede0d1b
+ pkgrel = 1
+ url = https://www.gnu.org/software/tar/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = glibc
+ provides = tar
+ conflicts = tar
+ source = git+https://git.savannah.gnu.org/git/tar.git
+ sha256sums = SKIP
+
+pkgname = tar-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9c7238c0f4e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=tar-git
+pkgver=1.29.r24.gede0d1b
+pkgrel=1
+pkgdesc="Utility used to store, backup, and transport files"
+arch=('i686' 'x86_64')
+url="https://www.gnu.org/software/tar/"
+license=('GPL3')
+depends=('glibc')
+makedepends=('git')
+provides=('tar')
+conflicts=('tar')
+source=("git+https://git.savannah.gnu.org/git/tar.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "tar"
+
+ git describe --long --tags | sed 's/^release_//;s/\([^-]*-g\)/r\1/;s/[-_]/./g'
+}
+
+build() {
+ cd "tar"
+
+ ./bootstrap
+ ./configure --prefix="/usr"
+ make
+}
+
+check() {
+ cd "tar"
+
+ make check
+}
+
+package() {
+ cd "tar"
+
+ make DESTDIR="$pkgdir" install
+}