summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2015-06-06 11:52:32 +0200
committerJohannes Dewender2015-06-06 11:52:32 +0200
commitef28fce003c6e13574f05e31dc4fc859003e1a67 (patch)
tree21d90ad046486ea917487b2a613c4f8a56f78770
downloadaur-ef28fce003c6e13574f05e31dc4fc859003e1a67.tar.gz
php-musicbrainz: created as 0.2.1
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD22
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a1335e11532
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = php-musicbrainz
+ pkgdesc = PHP library to access MusicBrainz's Web Service v2
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = https://github.com/mikealmond/MusicBrainz
+ arch = any
+ license = MIT
+ depends = php>=5
+ source = https://github.com/mikealmond/MusicBrainz/archive/v0.2.1.tar.gz
+ sha256sums = 55ec80f4156a6ed0a5054bdc0c7d9c2473281f919fe1c9982b899f96a453b2b8
+
+pkgname = php-musicbrainz
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..bd9b4a41adc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+*.tar.gz
+*.tar.xz
+*.tgz
+*.rpm
+*.zip
+*.bz2
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72910ffc86d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Johannes Dewender arch at JonnyJD dot net
+pkgname=('php-musicbrainz')
+_pkgname=MusicBrainz
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="PHP library to access MusicBrainz's Web Service v2"
+arch=('any')
+url="https://github.com/mikealmond/MusicBrainz"
+license=('MIT')
+depends=('php>=5')
+source=(https://github.com/mikealmond/$_pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('55ec80f4156a6ed0a5054bdc0c7d9c2473281f919fe1c9982b899f96a453b2b8')
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ mkdir -p $pkgdir/usr/share/pear/
+ cp -r src/MusicBrainz $pkgdir/usr/share/pear/
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ cp LICENSE.md $pkgdir/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et: