Skip to content

Commit

Permalink
🎉 INIT: Initialize repository
Browse files Browse the repository at this point in the history
On branch main
  - Changes to be committed:
    - new file:   .SRCINFO
    - new file:   PKGBUILD
  • Loading branch information
rossclarkartist committed Mar 15, 2022
0 parents commit b361267
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pkgbase = drush-launcher
pkgdesc = A small wrapper around Drush for your global /home/ross/.local/share:/usr/lib/jvm/java-8-openjdk:/usr/lib/jvm/java-8-graalvm/bin:/usr/lib/jvm/java-11-openjdk:/usr/lib/jvm/java-11-graalvm/bin:/usr/lib/jvm/java-17-openjdk:/usr/lib/jvm/java-17-graalvm/bin:/home/ross/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/opt/jython/bin/:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/share/backuppc/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/home/ross/.dotnet/tools:/usr/lib/emscripten:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/plan9/bin
pkgver = 0.10.1
pkgrel = 1
url = http://drupalconsole.com/
arch = any
license = GPL
makedepends = composer
depends = php
source = drush.phar::https://github.com/drush-ops/drush-launcher/releases/latest/download/drush.phar
sha512sums = 73456d685c028fd23c87b53e864906958c91c50b14059cb79bc88eccf098e495eba3ecfe27c962786a8639124f7a2359af8d6f4ecf180b457a3856d046802018

pkgname = drush-launcher
32 changes: 32 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash

# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de>
# Please report issues at https://github.com/sanduhrs/arch-aur-drupalconsole

_cvsorg="drush-ops"
_pkgname="drush"
_pkgsuffix="launcher"

pkgname="${_pkgname}-${_pkgsuffix}"
pkgver=0.10.1
pkgrel=1
pkgdesc="A small wrapper around Drush for your global $PATH"
arch=('any')
url="http://drupalconsole.com/"
license=('GPL')
depends=('php')
makedepends=("composer")
source=("${_pkgname}.phar"::"https://github.com/${_cvsorg}/${_pkgname}-${_pkgsuffix}/releases/latest/download/${_pkgname}.phar")
sha512sums=('73456d685c028fd23c87b53e864906958c91c50b14059cb79bc88eccf098e495eba3ecfe27c962786a8639124f7a2359af8d6f4ecf180b457a3856d046802018')

# build() {
# cd "${srcdir}/${_pkgname}-${pkgver//_/-}"
# php /usr/bin/composer install --no-dev
# ulimit -Sn 2048
# php -d phar.readonly=Off /usr/bin/php-box build
# }

package() {
cd "${srcdir}"
install -D -m755 "drush.phar" "${pkgdir}/usr/bin/drush"
}

0 comments on commit b361267

Please sign in to comment.