PKGBUILD 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Maintainer: Nico <d3sox at protonmail dot com>
  2. # Maintainer: Harry Stanton <harry@harrystanton.com>
  3. pkgname=lyrebird
  4. pkgver=1.2.0
  5. pkgrel=1
  6. pkgdesc="Simple and powerful voice changer for Linux, written in Python and GTK"
  7. arch=('any')
  8. url="https://github.com/lyrebird-voice-changer/lyrebird"
  9. license=('MIT')
  10. depends=('python>=3.7' 'python-toml' 'gtk3' 'python-gobject' 'sox' 'libsoxr' 'pipewire-pulse')
  11. conflicts=('lyrebird')
  12. provides=('lyrebird')
  13. source=("${url}/archive/v${pkgver}.tar.gz" "${pkgname}.desktop")
  14. sha256sums=('d5fea39c34f4a554173e9bb576dcbb7680acf94cd1594033622cfd40b1f5f47d' '4469b6297dcdbfe49cc88d79dd7918d5850a36f7fce5b9f0969e36d209db0a7f')
  15. package() {
  16. BIN_PATH="${pkgdir}/usr/bin"
  17. SHARE_PATH="${pkgdir}/usr/share/${pkgname}"
  18. DESKTOP_PATH="${pkgdir}/usr/share/applications"
  19. mkdir -p "${BIN_PATH}"
  20. mkdir -p "${SHARE_PATH}"
  21. mkdir -p "${DESKTOP_PATH}"
  22. install -Dm 644 "${pkgname}.desktop" "${DESKTOP_PATH}"
  23. cd "${srcdir}/${pkgname}-${pkgver}"
  24. install -Dm 755 "${pkgname}" "${BIN_PATH}/${pkgname}"
  25. cp -rf "app" "${SHARE_PATH}"
  26. install -Dm 644 "app.py" "${SHARE_PATH}"
  27. install -Dm 644 "icon.png" "${SHARE_PATH}"
  28. }