summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Vuillard2015-06-08 11:56:17 +0200
committerArthur Vuillard2015-06-08 11:56:17 +0200
commitffb1df2b99493955f8d3e75f58536db4f99d455b (patch)
treea8ae14e3ee9691f0fcb327721733badef7f50c28
downloadaur-ffb1df2b99493955f8d3e75f58536db4f99d455b.tar.gz
migration to aur4
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD35
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d8be625d085
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = tidy-html5-git
+ pkgdesc = A tool to tidy down your HTML5 code to a clean style
+ pkgver = 5.0.0.git_475.3f72b6e
+ pkgrel = 1
+ url = https://github.com/htacg/tidy-html5
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ makedepends = cmake
+ provides = tidy5
+ conflicts = tidy-html5
+ source = git://github.com/htacg/tidy-html5.git
+ md5sums = SKIP
+
+pkgname = tidy-html5-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4da12836f0a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg
+*.pkg.tar.xz
+*.tar.gz
+src
+tidy-html5
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a0d5b9c3651
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Arthur Vuillard <arthur@hashbang.fr>
+# Previous maintainer: Martin Imobersteg <martin.imobersteg@gmail.com>
+pkgname=tidy-html5-git
+name=tidy-html5
+pkgver=5.0.0.git_475.3f72b6e
+pkgrel=1
+pkgdesc="A tool to tidy down your HTML5 code to a clean style"
+url="https://github.com/htacg/tidy-html5"
+license=('custom')
+arch=('i686' 'x86_64')
+depends=()
+makedepends=('git' 'cmake')
+provides=('tidy5')
+conflicts=('tidy-html5')
+source=('git://github.com/htacg/tidy-html5.git')
+md5sums=('SKIP')
+
+pkgver(){
+ cd $srcdir/$name
+
+ echo 5.0.0.git_$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$srcdir/$name/build/cmake"
+ cmake ../.. -DCMAKE_INSTALL_PREFIX=$pkgdir/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$name/build/cmake"
+ make install
+ install -Dm644 $srcdir/$name/LICENSE.md $pkgdir/usr/share/licenses/$name/LICENSE.md
+ rm -rf $pkgdir/usr/include
+}