PKGBUILD 670 B

123456789101112131415161718192021222324252627282930
  1. pkgname=wxwabbitemu
  2. pkgver=r
  3. pkgver() {
  4. cd "$srcdir/$pkgname";
  5. local ver=Unversioned directory
  6. printf "r%s" ""
  7. }
  8. pkgrel=2
  9. url='https://github.com/alberthdev/wxwabbitemu'
  10. pkgdesc="a TI-8x emulator based on Wabbitemu"
  11. arch=('any')
  12. source=("git+https://github.com/alberthdev/wxwabbitemu.git" "$pkgname.patch")
  13. depends=('wxgtk')
  14. license=('custom')
  15. prepare() {
  16. cd "$srcdir/$pkgname";
  17. git checkout -f;
  18. git clean -f;
  19. git apply ../$pkgname.patch
  20. }
  21. build() {
  22. cd "$srcdir/$pkgname/build";
  23. make
  24. }
  25. package() {
  26. install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  27. cd "$srcdir/$pkgname/build";
  28. make DESTDIR="${pkgdir}" install
  29. }
  30. md5sums=('SKIP' 'SKIP')