makedeb


makedeb-repo 0-0


makedeb repo

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for makedeb-repo.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>

pkgname=makedeb-repo
pkgver=0
pkgrel=0
pkgdesc='makedeb repo'
arch=('all')
license=('GPL3')
makedepends=('gpg')
source=('https://proget.makedeb.org/debian-feeds/makedeb.pub')
b2sums=('81a1bf0d90f23dfa292520237954cfdac1627d39e4fc216900201425932c45337fa59b6a20d39d5ef2aa84983d8882b44ae68a87111df0f42a3bccb870a31745')

package() {
  cd $srcdir

  mkdir -p "${pkgdir}/etc/apt/sources.list.d"
  echo "deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org makedeb main" > "${pkgdir}/etc/apt/sources.list.d/makedeb.list"

  mkdir -p "${pkgdir}/usr/share/keyrings"
  cat makedeb.pub | gpg --dearmor > "${pkgdir}/usr/share/keyrings/makedeb-archive-keyring.gpg" 2>/dev/null
}