aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-25 17:57:58 +0800
committerKunoiSayami <[email protected]>2021-10-25 17:57:58 +0800
commit0d02ab2f8032e540061c82d90022be4b6c6ceea3 (patch)
tree85fda1676fc75b3f342cdc27a6a47356d5c3ada8
parent8bad07b42bf845bb760a77489136ad3a1e69bf9e (diff)
fix: Fix missing build files
Signed-off-by: KunoiSayami <[email protected]>
-rw-r--r--repo/pod2man/PKGBUILD22
-rw-r--r--repo/r8125-dkms/dkms.conf7
2 files changed, 29 insertions, 0 deletions
diff --git a/repo/pod2man/PKGBUILD b/repo/pod2man/PKGBUILD
new file mode 100644
index 0000000..3a20d52
--- /dev/null
+++ b/repo/pod2man/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Fernando Ortiz <[email protected] >
+# Contributor: Alexander F. Rødseth <[email protected]>
+
+pkgname=pod2man
+pkgver=5.30.2
+pkgrel=1
+pkgdesc='Make pod2man easily accessible'
+arch=(x86_64)
+license=(GPL PerlArtistic)
+url='https://perl.org/'
+depends=(perl)
+
+package() {
+ # perl 5 places pod2man in /usr/bin/core_perl instead of /usr/bin,
+ # for unknown reasons. This creates a symlink in what is what is now a more
+ # conventional location.
+
+ install -d "$pkgdir/usr/bin"
+ ln -s /usr/bin/core_perl/pod2man "$pkgdir/usr/bin/pod2man"
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/repo/r8125-dkms/dkms.conf b/repo/r8125-dkms/dkms.conf
new file mode 100644
index 0000000..d6b26d9
--- /dev/null
+++ b/repo/r8125-dkms/dkms.conf
@@ -0,0 +1,7 @@
+PACKAGE_NAME="@_PKGNAME@"
+PACKAGE_VERSION="@PKGVER@"
+MAKE[0]="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules"
+CLEAN="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build clean"
+BUILT_MODULE_NAME[0]="@_PKGNAME@"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/net/ethernet/realtek"
+AUTOINSTALL="yes"