Skip to content

Instantly share code, notes, and snippets.

@xee5ch
Created May 29, 2021 22:29
Show Gist options
  • Save xee5ch/33134997efbf6f399ac6909c2ce51489 to your computer and use it in GitHub Desktop.
Save xee5ch/33134997efbf6f399ac6909c2ce51489 to your computer and use it in GitHub Desktop.
Current example PKGBUILD for imdone
# Maintainer: Al S < [email protected]>
pkgname=imdone-bin
_pkgname=imdone
pkgver=1.17.6
pkgrel=1
pkgdesc="Simple and powerful kanban board that works on top of a local folder of plain text markdown files or code."
arch=('i686' 'x86_64')
provides=('imdone')
url="https://imdone.io/"
license=('custom:imdone')
groups=()
depends=('gtk3' 'nss')
replaces=()
backup=()
options=()
source=("https://imdone.io/downloads/${_pkgname}-${pkgver}.deb"
'https://imdone.io/eula')
sha512sums=('2d336846f8d9f98f8420af61e60030b1d30eabbbbbe9fe44d57b04e41760d7b36dba46d79ece59b9108debe7c4f4caa651a06b2eec6a056740a8ea11973fc42d'
'SKIP')
package() {
echo " -> Add non-free license"
install -Dm644 eula "${pkgdir}/usr/share/licenses/${_pkgname}/eula.html"
echo " -> Extracting the data.tar.xz..."
bsdtar -xf data.tar.xz -C "$pkgdir/"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment