diff options
author | Babz | 2021-01-04 20:14:04 +0100 |
---|---|---|
committer | Babz | 2021-01-04 20:14:39 +0100 |
commit | 9427234e846c898f525fe21fa92756d84c9c9ddd (patch) | |
tree | 4cad0a558fff206c590ab2c44248368c31a603b9 | |
download | aur-9427234e846c898f525fe21fa92756d84c9c9ddd.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 53 | ||||
-rw-r--r-- | ricochet-irc.service | 9 |
3 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fcc9e3f37dfb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ricochet-irc + pkgver = 1.2.0 + pkgrel = 1 + url = https://github.com/adraenwan/ricochet-irc + arch = any + license = BSD + makedepends = qt5-tools + depends = qt5-base + depends = protobuf + source = https://github.com/adraenwan/ricochet-irc/archive/v1.2.0/v1.2.0.tar.gz + source = ricochet-irc.service + sha256sums = 590f00977dfe26c8edfb1135173a87b3518378d5064455868b1a39c8032496fa + sha256sums = 6140077bfbf75eae190d221c77f5c540d98fff188b0839a21919d29107763af7 + +pkgname = ricochet-irc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c079132817fe --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Babz <babz+aur@tfnux.org> + +pkgname=ricochet-irc +pkgver=1.2.0 +pkgrel=1 +epoch= +pkgdesc="" +arch=('any') +url="https://github.com/adraenwan/ricochet-irc" +license=('BSD') +groups=() +depends=('qt5-base' 'protobuf') +makedepends=('qt5-tools') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=( + "https://github.com/adraenwan/ricochet-irc/archive/v${pkgver}/v${pkgver}.tar.gz" + "ricochet-irc.service") +noextract=() +sha256sums=( + '590f00977dfe26c8edfb1135173a87b3518378d5064455868b1a39c8032496fa' + '6140077bfbf75eae190d221c77f5c540d98fff188b0839a21919d29107763af7') +validpgpkeys=() + +prepare() { + cd "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + + qmake ricochet-irc.pro + make release +} + +check() { + cd "$pkgname-$pkgver" +} + +package() { + install -D -m 644 ricochet-irc.service ${pkgdir}/usr/lib/systemd/user/${pkgname}.service + + cd "$pkgname-$pkgver" + + install -D -m 755 ricochet-irc ${pkgdir}/usr/bin/${pkgname} +} diff --git a/ricochet-irc.service b/ricochet-irc.service new file mode 100644 index 000000000000..907b6b38f826 --- /dev/null +++ b/ricochet-irc.service @@ -0,0 +1,9 @@ +[Unit] +Description=Ricochet bridge for IRC + +[Service] +ExecStart=/usr/bin/ricochet-irc --config %h/.config/ricochet-irc/ +Restart=always + +[Install] +WantedBy=default.target |