summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Audet2015-06-08 20:23:30 -0400
committerJeremy Audet2015-06-08 20:23:30 -0400
commita5f7773526972c488aecc79e1ff23b7e8b1e0767 (patch)
tree3183296eb03998413d76fe500c9603333dc53423
downloadaur-a5f7773526972c488aecc79e1ff23b7e8b1e0767.tar.gz
Initial commit (version 0.8.4)
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..92b02a8b692
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = osmconvert
+ pkgdesc = OpenStreetMap file format converter (.osm, .o5m, and .pbf)
+ pkgver = 0.8.4
+ pkgrel = 1
+ epoch = 2
+ url = http://wiki.openstreetmap.org/wiki/Osmconvert
+ arch = i686
+ arch = x86_64
+ license = AGPL3
+ depends = zlib
+ source = http://m.m.i24.cc/osmconvert.c
+ sha256sums = a26d7c27d13d6b7801da9f9744757295229d6c38ae0825e50972ee896a983881
+
+pkgname = osmconvert
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f96f59d67fb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
+# Contributor: jose <jose1711 [at] gmail (dot) com>
+
+pkgname=osmconvert
+pkgver=0.8.4
+pkgrel=1
+epoch=2
+pkgdesc='OpenStreetMap file format converter (.osm, .o5m, and .pbf)'
+url='http://wiki.openstreetmap.org/wiki/Osmconvert'
+license=(AGPL3)
+arch=(i686 x86_64)
+depends=(zlib)
+source=("http://m.m.i24.cc/${pkgname}.c")
+sha256sums=('a26d7c27d13d6b7801da9f9744757295229d6c38ae0825e50972ee896a983881')
+
+build() {
+ gcc "${pkgname}.c" -lz -O3 -o "${pkgname}"
+}
+
+package() {
+ install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et: