summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Lezaeta Reyes2015-05-26 04:39:28 -0300
committerPablo Lezaeta Reyes2015-05-26 04:39:28 -0300
commit6d57970dafb4349ea2b174709248b0836a2587a1 (patch)
treeded30cb03691756302b9ce541e105e782504536c
downloadaur-6d57970dafb4349ea2b174709248b0836a2587a1.tar.gz
nilfs2
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore11
-rwxr-xr-xPKGBUILD36
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..42888d7b18f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = thunar-nilfs2-plugin-git
+ pkgdesc = You can see a list of checkpoints created by NILFS2 in Thunar
+ pkgver = 0.git4
+ pkgrel = 1
+ url = https://github.com/kazuki/thunar-nilfs2-plugin
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = thunar
+ makedepends = xfce4-dev-tools
+ depends = nilfs-utils
+ provides = thunar-nilfs2-plugin
+ conflicts = thunar-nilfs2-plugin
+ conflicts = thunar-nilfs2-plugin-git
+ source = thunar-nilfs2-plugin::git+https://github.com/jristz/thunar-nilfs2-plugin.git
+ md5sums = SKIP
+
+pkgname = thunar-nilfs2-plugin-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..7d813751c96
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+src
+srcdir
+pkg
+pkgdir
+*.tar.*
+*.xz
+*.gz
+*.bz2
+*.tar
+*.zip
+*.rar
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..c5f5034b7c0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Pablo Lezaeta <prflr88 @ gmail . com> (Pony Provider)
+
+pkgname=thunar-nilfs2-plugin-git
+_pkgname=thunar-nilfs2-plugin
+pkgver=0.git4
+pkgrel=1
+pkgdesc="You can see a list of checkpoints created by NILFS2 in Thunar"
+arch=('i686' 'x86_64')
+url="https://github.com/kazuki/thunar-nilfs2-plugin"
+license=('GPL3')
+depends=('nilfs-utils')
+provides=('thunar-nilfs2-plugin')
+conflicts=('thunar-nilfs2-plugin' 'thunar-nilfs2-plugin-git')
+makedepends=('git' 'thunar' 'xfce4-dev-tools')
+source=("$_pkgname::git+https://github.com/jristz/thunar-nilfs2-plugin.git")
+md5sums=("SKIP")
+
+pkgver(){
+ cd $_pkgname
+ #echo "$(git describe --always --abbrev=0 ).git$(git rev-list --count HEAD | sed 's/-/./g' )"
+ echo "0.git$(git rev-list --count HEAD | sed 's/-/./g' )"
+}
+
+build(){
+ cd $srcdir/$_pkgname
+ ./autogen.sh --prefix=/usr --bindir=/usr/bin \
+ --sbindir=/usr/bin --libdir=/usr/lib \
+ --libexecdir=/usr/lib/$_pkgname
+ make
+}
+
+package(){
+ cd $srcdir/$_pkgname
+ make DESTDIR=$pkgdir sbindir=/usr/bin install
+}
+