summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2015-11-25 21:31:16 -0500
committerMario Finelli2015-11-25 21:31:16 -0500
commit791ddd1b3804b0332bd2898d28b4c44b9387a4a4 (patch)
treee64fdff3329ff110acc8ea812fc49d9a5f0194b6
downloadaur-791ddd1b3804b0332bd2898d28b4c44b9387a4a4.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD30
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..37284797b02
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = symfony-installer
+ pkgdesc = The Symfony installer.
+ pkgver = 1.3.3
+ pkgrel = 1
+ url = https://github.com/symfony/symfony-installer
+ arch = any
+ license = MIT
+ makedepends = php-box
+ makedepends = php-composer
+ depends = php
+ source = https://github.com/symfony/symfony-installer/archive/v1.3.3.tar.gz
+ sha256sums = 1cc311a055c8e3b48a38392bab7685fffc36f4479b10baeae555d25d08260de4
+
+pkgname = symfony-installer
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f71c635dafd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d1324abb107
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com>
+
+pkgname=symfony-installer
+pkgver=1.3.3
+pkgrel=1
+pkgdesc='The Symfony installer.'
+arch=('any')
+url='https://github.com/symfony/symfony-installer'
+license=('MIT')
+depends=('php')
+makedepends=('php-box' 'php-composer')
+source=("https://github.com/symfony/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('1cc311a055c8e3b48a38392bab7685fffc36f4479b10baeae555d25d08260de4')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i '/"git-version":/d' box.json
+ composer install
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ php-box build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -Dm755 symfony.phar "$pkgdir"/usr/bin/symfony
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}