mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
060d998e14
added new octopi deps, gist
20 lines
634 B
Bash
20 lines
634 B
Bash
|
|
pkgname=gist
|
|
pkgver=4.3.0
|
|
pkgrel=1
|
|
pkgdesc="Provides a gist command to use from the terminal to upload content to https://gist.github.com/."
|
|
arch=('x86_64')
|
|
url="http://github.com/defunkt/gist"
|
|
license=('MIT')
|
|
depends=('ruby')
|
|
source=("https://github.com/defunkt/${pkgname}/archive/v${pkgver}.tar.gz")
|
|
md5sums=('d7a5e77aba92c677fd89a4a8ec36d077')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
install -Dm755 build/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
|
|
install -Dm644 build/${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
|
|
install -Dm644 LICENSE.MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|