Josh VanderLinden avatar Josh VanderLinden committed 09c1a43

Making the PKGBUILD use online sources

Comments (0)

Files changed (2)

 pkg/
+src/
+*.tar.gz
 *.tar.xz
 # Maintainer: Josh VanderLinden <arch@cloudlery.com>
 pkgname=autotunnel
 pkgver=0.3.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Easily create tunnels, reverse tunnels, and SOCKS proxies"
 arch=('any')
 url="http://www.codekoala.com/"
   'etc/autotunnel.d/autotunnel.ini'
 )
 install=autotunnel.install
-md5sums=() #generate with 'makepkg -g'
+source=(
+  "http://bitbucket.org/codekoala/${pkgname}/raw/master/autotunnel"
+  "http://bitbucket.org/codekoala/${pkgname}/raw/master/autotunnel.ini"
+  "http://bitbucket.org/codekoala/${pkgname}/raw/master/autotunnel.service"
+  "http://bitbucket.org/codekoala/${pkgname}/raw/master/autotunnel@.service"
+  "http://bitbucket.org/codekoala/${pkgname}/raw/master/default.conf"
+  "http://bitbucket.org/codekoala/${pkgname}/raw/master/LICENSE"
+  "http://bitbucket.org/codekoala/${pkgname}/raw/master/README.rst"
+)
+md5sums=('0ec69a4acd5bff5e2ab3020821f0d771'
+         '1e407b30a1305bfb1389f037586c2e6d'
+         'a6a943a637fa4d9d3f1be51db64bb5b4'
+         'aad0b9183b82d9f794136fbb3b19e256'
+         '5d7daaad1af59c464d8f0fb987060fd8'
+         '3637e4bc5d9c81724e06c9b723568952'
+         '5e28f03874fde283755cfebe8d64f694')
 
 package() {
-  cd ..
-
   mkdir -p ${pkgdir}/etc/autotunnel.d
   mkdir -p ${pkgdir}/usr/local/bin
   mkdir -p ${pkgdir}/usr/lib/systemd/system
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.