summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8b8df86e47100b67f675c2ecd84e01d3d98c9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: bitSheriff <root@bitsheriff.dev>
pkgname=dunst-timer
pkgver=1.00.06
pkgrel=1
pkgdesc="A Python script for setting timers with progress bar notifications in Dunst"
arch=('any')
url="https://github.com/bitSheriff/dunst-timer"
license=('MIT')
depends=('python' 'dunst')
makedepends=('python' 'pyinstaller')
source=("https://github.com/bitSheriff/dunst-timer/archive/v$pkgver.tar.gz")
sha256sums=('b99e2da01abd1ff46f37e5680e5a35c3d7d0ea6c558c2d9d9ec0da93f9d992d2')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    pyinstaller --onefile dunst-timer.py
}
package() {
    install -Dm755 "$srcdir/$pkgname-$pkgver/dist/dunst-timer" "$pkgdir/usr/bin/dunst-timer"
}