summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 148be731b0e04b911b2f787c69604366ab473c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Mendel Greenberg <chabad 360 at gmail dot com>
pkgname=argos-uri-installer-git
pkgver=r30.b9c3898
pkgrel=1
pkgdesc="Argos URI handler for bitbar://"
arch=('any')
url="https://github.com/chabad360/argos-installer"
license=('GPL3')
depends=('gnome-shell-extension-argos-git'
        'desktop-file-utils')
makedepends=('git')
source=('git+https://github.com/chabad360/argos-installer.git')
md5sums=('SKIP')

prepare() {
    cd argos-installer
    printf '0+%s+g%s' $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}

package() {
    cd "${srcdir}/argos-installer"
    install -Dm755 "add-argos" "$pkgdir/usr/bin/add-argos"
    install -Dm644 "argos.desktop" "$pkgdir/usr/share/applications/argos.desktop"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}