summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Parra2015-09-24 21:48:03 -0500
committerAxel Parra2015-09-24 21:48:03 -0500
commita32e46be01f184b5671ce6b030d8f185674729e2 (patch)
tree18977e39e26777f6008e024b9837d9499054b5df
downloadaur-a32e46be01f184b5671ce6b030d8f185674729e2.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD20
3 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2514dd9e539
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = fcount
+ pkgdesc = Counts the number of files in a directory
+ pkgver = 0.3
+ pkgrel = 1
+ url = http://git.z3bra.org/cgit.cgi/fcount
+ arch = i686
+ arch = x86_64
+ license = WTFPL
+ source = http://git.z3bra.org/cgit.cgi/fcount/snapshot/fcount-0.3.tar.bz2
+ md5sums = b5ad91c216eb3d0eddc9db7bf2e7ccb7
+
+pkgname = fcount
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1c13493cbab
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*tar*
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2f5c2ad19d8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: haliax
+pkgname=fcount
+pkgver=0.3
+pkgrel=1
+pkgdesc="Counts the number of files in a directory"
+arch=('i686' 'x86_64')
+url="http://git.z3bra.org/cgit.cgi/fcount"
+license=('WTFPL')
+source=("http://git.z3bra.org/cgit.cgi/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2")
+md5sums=('b5ad91c216eb3d0eddc9db7bf2e7ccb7')
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -D -m0755 fcount $pkgdir/usr/bin/fcount
+}