summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Kozický2020-06-01 21:30:21 +0200
committerClaudio Kozický2020-06-01 21:30:21 +0200
commitd824a7c8bb86feffc38d1b5692ef8154574922d6 (patch)
treeeff6899af34f29a9d3e93e2d5b74e4439aa3e695
downloadaur-d824a7c8bb86feffc38d1b5692ef8154574922d6.tar.gz
Add build files for v0.0.7
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD29
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c561309d03e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = beets-extrafiles
+ pkgdesc = A plugin for beets that copies additional files and directories during the import process.
+ pkgver = 0.0.7
+ pkgrel = 1
+ url = https://github.com/Holzhaus/beets-extrafiles
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = beets
+ source = beets-extrafiles-0.0.7.tar.gz::https://github.com/Holzhaus/beets-extrafiles/archive/v0.0.7.tar.gz
+ sha256sums = 977f8851b0c038ea78f7142d1d8dafbb9712182c2315973f3a24027eed2e4ee9
+
+pkgname = beets-extrafiles
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8c09862cc60
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Claudio Kozický <claudiokozicky@gmail.com>
+
+pkgname=beets-extrafiles
+pkgver=0.0.7
+pkgrel=1
+pkgdesc="A plugin for beets that copies additional files and directories during the import process."
+arch=('any')
+url="https://github.com/Holzhaus/beets-extrafiles"
+license=('MIT')
+depends=('beets')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Holzhaus/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('977f8851b0c038ea78f7142d1d8dafbb9712182c2315973f3a24027eed2e4ee9')
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ python setup.py test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --optimize=1 --root="$pkgdir" --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}