diff options
author | Caleb Maclennan | 2017-05-30 12:10:21 +0300 |
---|---|---|
committer | Caleb Maclennan | 2017-05-30 12:10:21 +0300 |
commit | f7d6403c72677fc1ae674d1c21c7640fcc344f3b (patch) | |
tree | 3fef92b505c9a1ae38cf67ce3e1fc1a672c14725 | |
download | aur-f7d6403c72677fc1ae674d1c21c7640fcc344f3b.tar.gz |
Setup lua-colors from luarocks
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ce83be032d39 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Tue May 30 09:09:55 UTC 2017 +pkgbase = lua-colors + pkgdesc = library provides methods to do color computation in HSL color space and for finding harmonious color palettes + pkgver = 8.05.26 + pkgrel = 1 + url = http://sputnik.freewisdom.org/lib/colors/ + arch = i686 + arch = x86_64 + license = MIT + makedepends = luarocks + depends = lua + source = https://luarocks.org/colors-8.05.26-1.src.rock + sha256sums = 6bffdd058af3f97c72a3e7fcfc7933a18c68661f4d559657a368e160ecc98071 + +pkgname = lua-colors + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5d3f67d33812 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> + +pkgname=lua-colors +pkgver=8.05.26 +_rockname=colors +_rockrel=1 +pkgrel=1 +pkgdesc="library provides methods to do color computation in HSL color space and for finding harmonious color palettes" +arch=('i686' 'x86_64') +url="http://sputnik.freewisdom.org/lib/colors/" +license=('MIT') +depends=('lua') +makedepends=('luarocks') +conflicts=() +source=("https://luarocks.org/${_rockname}-${pkgver}-${_rockrel}.src.rock") +sha256sums=('6bffdd058af3f97c72a3e7fcfc7933a18c68661f4d559657a368e160ecc98071') + +package() { + luarocks --tree="$pkgdir/usr" install --deps-mode=none "${_rockname}-${pkgver}-${_rockrel}.src.rock" + find "$pkgdir/usr" -name manifest -delete +} |