diff --git a/.artixlinux/Jenkinsfile b/.artixlinux/Jenkinsfile new file mode 100644 index 0000000..d68bca2 --- /dev/null +++ b/.artixlinux/Jenkinsfile @@ -0,0 +1,3 @@ +@Library('artix-ci@orion') import org.artixlinux.RepoPackage + +PackagePipeline(new RepoPackage(this)) diff --git a/.artixlinux/pkgbase.yaml b/.artixlinux/pkgbase.yaml index 58265ba..7a9fb0f 100644 --- a/.artixlinux/pkgbase.yaml +++ b/.artixlinux/pkgbase.yaml @@ -1,11 +1,11 @@ --- team: world actions: - addRepo: null + addRepo: world removeRepo: null - triggersBuild: false + triggersBuild: true triggersRebuild: false - triggersRepoAdd: false + triggersRepoAdd: true triggersRepoRemove: false triggersNoCheck: false repos: @@ -30,8 +30,9 @@ repos: packages: [] debug: [] world: - version: null - packages: [] + version: 1:0.0.113-1 + packages: + - discord-1:0.0.113-1-x86_64.pkg.tar.zst debug: [] lib32-goblins: version: null diff --git a/.artixlinux/srcinfo.yaml b/.artixlinux/srcinfo.yaml new file mode 100644 index 0000000..0a67b41 --- /dev/null +++ b/.artixlinux/srcinfo.yaml @@ -0,0 +1,37 @@ +--- +version: 1:0.0.113-1 +pkgbase: + name: discord + pkgdesc: All-in-one voice and text chat for gamers + pkgver: 0.0.113 + pkgrel: 1 + epoch: 1 + url: https://discord.com + arch: + - x86_64 + license: + - custom + optdepends: + - 'libpulse: PulseAudio support' + - 'libappindicator-gtk3: Systray indicator support' + - 'xdg-utils: For opening URLs and files' + options: + - '!debug' + - '!strip' + source: + - https://dl.discordapp.net/apps/linux/0.0.113/discord-0.0.113.tar.gz + - LICENSE-0.0.113.html::https://discordapp.com/terms + - OSS-LICENSES-0.0.113.html::https://discordapp.com/licenses + sha512sums: + - bfb4195690c87a19b3ca9cb37f6a5cb39c1d916a10764b77a3314471302c841a7a00576b5ce0c718470d7f51fa71123f42b54f792822540c74c6606699cf24cc + - SKIP + - SKIP +pkgname: + - name: discord + depends: + - libnotify + - libxss + - nspr + - nss + - gtk3 +# generated with artixpkg 0.37.4-1-any diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 0000000..60ec21b --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,4 @@ +[discord] +source = "httpheader" +url = "https://discord.com/api/download?platform=linux&format=tar.gz" +regex = "discord-(.*)\\.tar.*" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b87c5e4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +Copyright Arch Linux Contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/LICENSES/0BSD.txt b/LICENSES/0BSD.txt new file mode 120000 index 0000000..ea5b606 --- /dev/null +++ b/LICENSES/0BSD.txt @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..2822951 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Cory Sanin +# Contributor: Filipe Laíns (FFY00) +# Contributor: Morgan +# Contributor: Robin Candau +# Contributor: Christian Heusel +# Contributor: T.J. Townsend + +pkgname=discord +_pkgname=Discord +pkgver=0.0.113 +pkgrel=1 +epoch=1 +pkgdesc="All-in-one voice and text chat for gamers" +arch=('x86_64') +url='https://discord.com' +license=('custom') +options=(!debug !strip) +optdepends=('libpulse: PulseAudio support' + 'libappindicator-gtk3: Systray indicator support' + 'xdg-utils: For opening URLs and files') +source=("https://dl.discordapp.net/apps/linux/$pkgver/$pkgname-$pkgver.tar.gz" + "LICENSE-$pkgver.html::https://discordapp.com/terms" + "OSS-LICENSES-$pkgver.html::https://discordapp.com/licenses") +sha512sums=('bfb4195690c87a19b3ca9cb37f6a5cb39c1d916a10764b77a3314471302c841a7a00576b5ce0c718470d7f51fa71123f42b54f792822540c74c6606699cf24cc' + 'SKIP' + 'SKIP') + +prepare() { + cd $_pkgname + sed -i "s|Exec=.*|Exec=/usr/bin/$pkgname|" $pkgname.desktop +} + +package() { + depends=('libnotify' 'libxss' 'nspr' 'nss' 'gtk3') + install -d "$pkgdir"/opt/$pkgname + cp -a $_pkgname/. "$pkgdir"/opt/$pkgname + + chmod 755 "$pkgdir"/opt/$pkgname/$_pkgname + + rm "$pkgdir"/opt/$pkgname/postinst.sh + + install -d "$pkgdir"/usr/bin + ln -s /opt/$pkgname/$_pkgname "$pkgdir"/usr/bin/$pkgname + + install -d "$pkgdir"/usr/share/applications + ln -s /opt/$pkgname/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop + + install -d "$pkgdir"/usr/share/icons/hicolor/256x256/apps + ln -s /opt/$pkgname/discord.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/$pkgname.png + + # setuid on chrome-sandbox + chmod u+s "$pkgdir"/opt/$pkgname/chrome-sandbox + + install -Dm644 LICENSE-$pkgver.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html + install -Dm644 OSS-LICENSES-$pkgver.html "$pkgdir"/usr/share/licenses/$pkgname/OSS-LICENSES.html +} diff --git a/Permission_to_Distribute.mbox b/Permission_to_Distribute.mbox new file mode 100644 index 0000000..96a3e2f --- /dev/null +++ b/Permission_to_Distribute.mbox @@ -0,0 +1,83 @@ +From kodie.goodwin@discordapp.com Thu Jun 13 20:34:56 2019 +Return-Path: +Delivered-To: ffy00@archlinux.org +Received: from orion.archlinux.org + by orion with LMTP + id wyBRH3CzAl2FUAAA+xzH6A + (envelope-from ) + for ; Thu, 13 Jun 2019 20:34:56 +0000 +Received: from orion.archlinux.org (localhost [127.0.0.1]) + by orion.archlinux.org (Postfix) with ESMTP id 66CA913517A922 + for ; Thu, 13 Jun 2019 20:34:55 +0000 (UTC) +X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on orion +X-Spam-Level: +X-Spam-Status: No, score=-1.1 required=5.0 + tests=BAYES_00=-1,DKIM_SIGNED=0.1, + DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HTML_MESSAGE=0.001, + RCVD_IN_DNSWL_NONE=-0.0001,SPF_HELO_NONE=0.001, T_DMARC_POLICY_QUAR=0.01 + autolearn=ham autolearn_force=no version=3.4.2 +X-Spam-BL-Results: + + [127.0.5.0] +Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com + [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.3 with cipher + TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) + server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client + certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for + ; Thu, 13 Jun 2019 20:34:55 +0000 (UTC) +Received: by mail-lj1-x22c.google.com with SMTP id s21so58292lji.8 + for ; Thu, 13 Jun 2019 13:34:55 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=discordapp.com; + s=gsuite; h=mime-version:from:date:message-id:subject:to; + bh=LH86dlRYf6cqMyDrtGzBANXLtw1whsnDEezLkFI0V0U=; + b=Hn3WJ4XVxRhqkyBToNcRDJR+J2SLLDu+8cVKrCvb6qmXbkUFMP5KjTF0lqRnDmdpU8 + nRoVXvHLxfuMFyXEAaqWysKomIsfviYpcjPuwsFOawCUkBTlmNrh4AnpQJLdYhqq4EGO + Tuu+XuRQSI3xXGlLbf+mROw6t0xr68hGGh3rmVnooweqnOI9Rk0teBp6cMu2KjaF+Dxa + zZc/kW3Wn5Kn8GMuNaOptGDQ3xxt3f31aLUCR31uchnSrQngUHQGtXIrAnxQKvoFeTAZ + Ok/wFcomCNRWpFaWMXHXfZMTseRxtpcyq7Fz62KvRNMeEvAqXKTeVfYqyap9Jb8P+PBJ ITSA== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; + s=20161025; + h=x-gm-message-state:mime-version:from:date:message-id:subject:to; + bh=LH86dlRYf6cqMyDrtGzBANXLtw1whsnDEezLkFI0V0U=; + b=V2dqDbX4lJJp0q6x+GSw6+WklHRJ9GCXy+meJtNC1IEEkcpI4XoeryYEcBzVH01oTk + x0+KwMhd+8eW4jut+BYjnkO4i43EwDI/RDF/JziV97Bt2aajNu0DiGyvwdMMqcvfPEOi + f4EcMXY2A077gCcK4j8ixBa3OuJk3xtcyGa+R4WsbHoJcuhe3y7a5DNaCIj4AY7kV1T8 + l5jRoydEtIddSQ3vJeXhLzKHZ2LJsZflo4exba7Gt587C93TdsqrH0RKZYN1jyqJ85JX + OKxoFInfMrrmFEtWKI2Zk7pszFhx8NdXs9FreaRsqFRHUXpCDfmAjIM55mBqrWmC+//L oWeg== +X-Gm-Message-State: + APjAAAXl0uSoh/bTbxmb/NJdZ1zBb39mDoE3ae1VCW/eX3PtpMQbKDvg + 1r00u182FI0icipyvF4fX9jqh6LflTyBfnvhRJw27Qgkejw= +X-Google-Smtp-Source: + APXvYqz1xt2sSt1tFCoaFdVF7UKB1kvlEC07c6ycHew0bhV6HIIGL8rMS5KJXbxSjxqP2fT9+G6yAgXPsc+BnEpLP3E= +X-Received: by 2002:a2e:1290:: with SMTP id + 16mr29607440ljs.88.1560458094377; Thu, 13 Jun 2019 13:34:54 -0700 (PDT) +MIME-Version: 1.0 +From: Kodie Goodwin +Date: Thu, 13 Jun 2019 13:34:43 -0700 +Message-ID: +Subject: Permission to Distribute +To: =?UTF-8?Q?Filipe_La=C3=ADns?= +Content-Type: multipart/alternative; boundary="0000000000006713d2058b3a760e" +X-Evolution-Source: 36ef86f11e6676b78f0de2cf33e0173262b3392b + + +--0000000000006713d2058b3a760e +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: 8bit + +Hey Filipe, + +This is an official notification granting you permission to distribute +Discord in the Arch official repositories. + +Kodie Goodwin +Discord Inc. + +--0000000000006713d2058b3a760e +Content-Type: text/html; charset="UTF-8" +Content-Transfer-Encoding: 8bit + +
Hey Filipe, 

This is an official notification granting you permission to distribute Discord in the Arch official repositories.

Kodie Goodwin
Discord Inc.
+ +--0000000000006713d2058b3a760e-- + diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..458f18c --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,24 @@ +version = 1 + +[[annotations]] +path = [ + "PKGBUILD", + "README.md", + "keys/**", + ".SRCINFO", + ".nvchecker.toml", + "*.install", + "*.sysusers", + "*.tmpfiles", + "*.logrotate", + "*.pam", + "*.service", + "*.socket", + "*.timer", + "*.desktop", + "*.hook", + ".gitignore", + "Permission_to_Distribute.mbox", +] +SPDX-FileCopyrightText = "Arch Linux contributors" +SPDX-License-Identifier = "0BSD"