summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDušan Simić2021-04-29 01:03:48 +0200
committerDušan Simić2021-04-29 01:03:48 +0200
commitd40d37fdb4bceb2e0a5d596bd4903f55f6e8116b (patch)
tree3a11dd52fbdbd84739a872c706d9667d57453876
downloadaur-d40d37fdb4bceb2e0a5d596bd4903f55f6e8116b.tar.gz
Add PKGBUILD and .SRCINFO
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD31
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9eaa023b8ea
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = f34-backgrounds
+ pkgdesc = Fedora 34 backgrounds
+ pkgver = 34.0.1
+ pkgrel = 1
+ url = https://fedoraproject.org/wiki/F34_Artwork
+ arch = any
+ license = custom
+ source = https://archives.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/f/f34-backgrounds-34.0.1-1.fc35.src.rpm
+ sha256sums = 32fb14652e207a3812cceeb8edb16531e4665491efae0eed560e23bdf3bfb0fe
+
+pkgname = f34-backgrounds
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2a90c97a43
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Dušan Simić <dusan.simic1810@gmail.com>
+
+pkgname=f34-backgrounds
+pkgver=34.0.1
+pkgrel=1
+_relnum=34
+pkgdesc="Fedora $_relnum backgrounds"
+arch=('any')
+url="https://fedoraproject.org/wiki/F${_relnum}_Artwork"
+license=('custom')
+source=("https://archives.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/f/f$_relnum-backgrounds-$pkgver-$pkgrel.fc35.src.rpm")
+sha256sums=('32fb14652e207a3812cceeb8edb16531e4665491efae0eed560e23bdf3bfb0fe')
+
+prepare() {
+ tar -xvJf ./${pkgname}-${pkgver}.tar.xz
+ rm -r ./${pkgname}-${pkgver}.tar.xz
+ rm -r ./${pkgname}.spec
+}
+
+build() {
+ cd ./${pkgname}
+ make
+}
+
+package() {
+ cd ./${pkgname}
+ make install DESTDIR="$pkgdir"
+ install -Dm 644 CC-BY-SA-4.0 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+#vim: syntax=sh