annotate bing4desktop/PKG/PKGBUILD @ 12:74d743cf58cb

bing4desktop-0.240206-0_clean
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 12:01:38 +0100
parents c01d7edb9cb9
children 73fd89b46da4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
1 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
2
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
3 pkgname=bing4desktop
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
4 pkgver=0.240206
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
5 pkgrel=0
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
6 pkgdesc="Beautify your desktop with photos from Bing search engine"
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
7 arch=('any')
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
8 url="prymula.ct8.pl"
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
9 license=('Public Domain')
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
10 groups=()
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
11 provides=('bing4desktop')
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
12 depends=('python' 'python-pillow' 'python-requests')
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
13 makedepends=('python' 'python-pillow' 'python-requests')
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
14 source=(${pkgname}-${pkgver}-${pkgrel}.tar.gz)
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
15 noextract=()
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
16 sha256sums=('a33af8e09868dcec11bee8a27067b6955884abbb2598ab15ad155c116dc89f4e') #generate with 'makepkg -g' || sha256sum
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
17
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
18 #build() {
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
19 #cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
20 #python -m build --wheel --no-isolation
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
21 #}
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
22
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
23 package() {
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
24 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
25 make DESTDIR="${pkgdir}" prefix=/usr install
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
26 }