summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Jaksch2016-04-17 08:06:30 +0200
committerOliver Jaksch2016-04-17 08:06:30 +0200
commitb38e3725d966bb093d35ed374e987b67fd6b4894 (patch)
treec92c37408b26df356e201b735c16e005fa5cbe9e
downloadaur-b38e3725d966bb093d35ed374e987b67fd6b4894.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD32
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..426bcc27541
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sun Apr 17 06:06:14 UTC 2016
+pkgbase = emulationstation-autoscraper
+ pkgdesc = An auto-scraper for EmulationStation written in Go using hashes
+ pkgver = 162.99358ba
+ pkgrel = 1
+ url = https://github.com/sselph/scraper
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = custom
+ makedepends = git
+ makedepends = go
+ source = https://raw.githubusercontent.com/sselph/scraper/master/LICENSE
+ sha256sums = SKIP
+
+pkgname = emulationstation-autoscraper
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fae1cebb8f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Oliver Jaksch <arch-aur@com-in.de>
+
+pkgname=emulationstation-autoscraper
+pkgver=162.99358ba
+pkgrel=1
+pkgdesc="An auto-scraper for EmulationStation written in Go using hashes"
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+url="https://github.com/sselph/scraper"
+license=('custom')
+makedepends=('git' 'go')
+
+source=("https://raw.githubusercontent.com/sselph/scraper/master/LICENSE")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}"
+ export GOPATH="${srcdir}"
+ echo $(go get github.com/sselph/scraper)
+ echo $(go build github.com/sselph/scraper)
+}
+
+package() {
+ strip "${srcdir}/scraper"
+ install -Dm755 "${srcdir}/scraper" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "${srcdir}/src/github.com/sselph/scraper/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+ install -Dm644 "${srcdir}/src/github.com/nfnt/resize/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license-resize.txt"
+ install -Dm644 "${srcdir}/src/github.com/golang/snappy/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license-snappy.txt"
+ install -Dm644 "${srcdir}/src/github.com/syndtr/goleveldb/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license-goleveldb.txt"
+ install -Dm644 "${srcdir}/src/github.com/hashicorp/golang-lru/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license-golang-lru.txt"
+ install -Dm644 "${srcdir}/src/github.com/mitchellh/go-homedir/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license-go-homedir.txt"
+ install -Dm644 "${srcdir}/src/github.com/kr/fs/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license-fs.txt"
+}