diff options
author | Trumeet | 2021-03-24 16:50:18 -0700 |
---|---|---|
committer | Trumeet | 2021-03-24 16:50:18 -0700 |
commit | 0687918bc5a931383848706623688f6a604f18de (patch) | |
tree | 6efacc00435e2b523fb2a604f26285b9c566e0e5 | |
download | aur-0687918bc5a931383848706623688f6a604f18de.tar.gz |
First Commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 46 |
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..58a8ef86e2f9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python-favicons + pkgdesc = Favicon generator for Python 3 with strongly typed sync & async APIs, CLI, & HTML generation + pkgver = 0.0.9 + pkgrel = 1 + url = https://github.com/checktheroads/favicons + arch = any + license = BSD + makedepends = python-setuptools + depends = python + depends = python-pillow + depends = python-rich + depends = python-svglib + depends = python-typer + source = https://files.pythonhosted.org/packages/source/f/favicons/favicons-0.0.9.tar.gz + md5sums = 19091796d3c4a339be590ed87875ee4c + +pkgname = python-favicons + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..3c52670f2ca2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.zst +*.tar.gz +*.log +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3192d9329c1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Yuuta Liang <yuuta@yuuta.moe> +pkgname=python-favicons +pkgver=0.0.9 +pkgrel=1 +epoch= +pkgdesc="Favicon generator for Python 3 with strongly typed sync & async APIs, CLI, & HTML generation" +arch=(any) +url="https://github.com/checktheroads/favicons" +license=('BSD') +groups=() +depends=('python' 'python-pillow' 'python-rich' 'python-svglib' 'python-typer') +makedepends=('python-setuptools') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +_name=${pkgname#python-} +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +noextract=() +md5sums=('19091796d3c4a339be590ed87875ee4c') +validpgpkeys=() + +prepare() { + cd "$_name-$pkgver" +} + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +check() { + cd "$_name-$pkgver" +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + mkdir -p $pkgdir/usr/share/licenses/${pkgname}/ + install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/ +} |