Posted by onny on Wed 22nd May 04:00
download | new post | report as spam

  1. # Contributor: Jonas Heinrich <onny@project-insanity.org>                                                                     
  2. # Maintainer: Nick Østergaard <oe.nick at gmail dot com>
  3. pkgname=tilemill
  4. pkgver=0.10.1
  5. pkgrel=3
  6. pkgdesc="A modern map design studio"
  7. arch=(any)
  8. url="https://github.com/mapbox/tilemill"
  9. license=(BSD)
  10. depends=(nodejs8 nodejs8-srs mapnik desktop-file-utils webkitgtk2)
  11. source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz \
  12.         tilemill.png \
  13.         tilemill.desktop \
  14.         tilemill.install)
  15. noextract=($pkgname-$pkgver.tgz)
  16. sha1sums=('9921329450c10fbaf05dcc022a23caed4f645de5'
  17.           '350bbce4e2a3a338123e919f050c418d317a7862'
  18.           '9aced645fcc1407e7a0cb864a48501e3048a4c37'
  19.           'f011df5ca2f0597ddd51c4d5f1b365caa0c7c847')
  20.  
  21. build() {
  22.   cd $srcdir
  23.   tar xf $pkgname-$pkgver.tgz
  24. }
  25. package() {
  26.   cd $srcdir/package
  27.  
  28.   mkdir -p "$pkgdir/usr"
  29.   npm install -g --prefix "$pkgdir/usr"
  30.  
  31.   # icon and .desktop files
  32.   install -Dm644 $srcdir/tilemill.png "$pkgdir/usr/share/pixmaps/tilemill.png"
  33.   install -Dm644 $srcdir/tilemill.desktop "$pkgdir/usr/share/applications/tilemill.desktop"
  34.   install -Dm644 $pkgdir/usr/lib/node_modules/tilemill/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  35. }
  36. # vim:set ts=2 sw=2 et:

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily
.
Syntax highlighting:

To highlight particular lines, prefix each line with @@
   Remember me